-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-select layout issue #6200
Comments
👍 also |
Exactly ! I think this zealous rule is and will be the source of several bugs |
Even something like I didn't realize it at first glance, but the transition is applied to the div that gets created in the dirty select... so selects with a selected value have an extra 2px transform applied. Getting rid of the extra 2px gets rid of the need to change This is a small visual bug that is noticeable in the pizza / topping demo. Select one and leave one untouched. Bonus: select something like |
+1 Here is a codepen: http://codepen.io/ddimitrop/pen/bEdWqq |
cc @rschmukler |
I'm getting some issues with the |
I am also having issues with the flex: 1 0 auto; I found that by altering the class this way gets the same result without any adverse impacts (that I can see).
|
- Make selector less agressive restricting it to the text span only - Add a max width, so the overflow rule will go in effect if we reach the width of the container Closes angular#6200
- Make selector less agressive restricting it to the text span only - Add a max width, so the overflow rule will go in effect if we reach the width of the container Closes angular#6200
- Make selector less agressive restricting it to the text span only - Add a max width, so the overflow rule will go in effect if we reach the width of the container Closes angular#6200
- Make selector less agressive restricting it to the text span only - Add a max width, so the overflow rule will go in effect if we reach the width of the container - Allow span to shrink if width is greather than that of the input container Closes angular#6200 and angular#6312
Now md-select is able to use md-option's html as display value, this rule seems a little aggressive
this rule will push 2px down each first children !
I don't know the meaning of this rule but maybe something like
.md-select-value > *:first-child
should do the trickThe text was updated successfully, but these errors were encountered: