Skip to content

Commit

Permalink
chore(Select): revert inline story changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Jul 31, 2023
1 parent dbffca1 commit 6125e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions packages/react/src/components/Select/Select.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,7 @@ export const Inline = () => {
labelText="Select"
helperText="Optional helper text">
<SelectItem value="" text="" />
<SelectItem
value="An example option that is really long to show what should be done to handle long text"
text="An example option that is really long to show what should be done to handle long text"
/>
<SelectItem value="Option 1" text="Option 1" />
<SelectItem value="Option 2" text="Option 2" />
<SelectItem value="Option 3" text="Option 3" />
<SelectItem value="Option 4" text="Option 4" />
Expand Down
1 change: 1 addition & 0 deletions packages/styles/scss/components/select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@
}

.#{$prefix}--select--inline .#{$prefix}--select-input {
width: auto;
padding-right: $spacing-07;
padding-left: $spacing-03;
border-bottom: none;
Expand Down

0 comments on commit 6125e3b

Please sign in to comment.