Skip to content

Commit

Permalink
fix(select): add flex rule to accommodate long label text, update sto…
Browse files Browse the repository at this point in the history
…ry (#4787)
  • Loading branch information
jendowns authored and asudoh committed Dec 2, 2019
1 parent 1843d74 commit 3b691a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
position: relative;
display: flex;
flex-direction: column;
align-items: flex-start;
}

.#{$prefix}--select-input__wrapper {
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/components/Select/Select-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const props = {
'Form validation UI content (invalidText in <Select>)',
'A valid value is required'
),
labelText: text('Label text (helperText)', 'Select'),
helperText: text('Helper text (helperText)', 'Optional helper text.'),
onChange: action('onChange'),
}),
Expand Down

0 comments on commit 3b691a0

Please sign in to comment.