diff --git a/components/file-picker/src/vwc-file-picker.scss b/components/file-picker/src/vwc-file-picker.scss index f1888c4cc4..454fb68937 100644 --- a/components/file-picker/src/vwc-file-picker.scss +++ b/components/file-picker/src/vwc-file-picker.scss @@ -1,6 +1,12 @@ @use '@vonage/vvd-typography/scss/typography' as typography; @use '@vonage/vvd-foundation/scss/variable-names/color-semantic-variable-names' as color-semantic; +:host { + display: inline-block; + min-inline-size: 320px; + max-inline-size: 100%; +} + .input-file-slot::slotted(*) { display: none; } diff --git a/components/file-picker/stories/file-picker-events.stories.js b/components/file-picker/stories/file-picker-events.stories.js index 195e4b261a..15126559d8 100644 --- a/components/file-picker/stories/file-picker-events.stories.js +++ b/components/file-picker/stories/file-picker-events.stories.js @@ -39,10 +39,14 @@ MultipleRestrictedChangeEvent.args = { const TemplateWithForm = args => html`
This is an example of file-picker living in form
- - - Add Files - +
+
+ + + Add Files + +
+
Submit
`;