Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(select): fix select-value label not filling select width
Browse files Browse the repository at this point in the history
  • Loading branch information
rschmukler committed Jul 6, 2015
1 parent bee0523 commit ba60122
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ md-select {

&.md-select-placeholder {
display: flex;
flex-grow: 1;
order: 1;
pointer-events: none;
-webkit-font-smoothing: antialiased;
Expand Down

1 comment on commit ba60122

@tommyminds
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be set on md-select-value. Now the placeholder stretches correctly to the width of the select, but once you actually select a value it is incorrect again. Setting flex-grow: 1 on the md-select-value fixes this.

Please sign in to comment.