-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(autocomplete): fix progressbar and messages alignment and bottom padding #6258
fix(autocomplete): fix progressbar and messages alignment and bottom padding #6258
Conversation
…padding. - There was too much padding at the bottom (padding already done by the input container) - Progressbar was wrong aligned due wrong bottom padding (as above said) Fixes angular#6218 Closes angular#6231 Fixes angular#6255
d4c91ff
to
adc948f
Compare
you need to fix the offset of the progress bar as well since it takes the padding into account see https://github.com/angular/material/blob/master/src/components/autocomplete/autocomplete.scss#L89 |
Works perfectly for me @devversion ! |
Thanks for checking it out :) |
I had a fix going for #5672 so that messed it up sorry ^^ |
&.md-input-has-messages { | ||
padding-bottom: $input-container-padding; | ||
} | ||
padding-bottom: 0px; |
There was a problem hiding this comment.
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 padding-bottom: $input-container-padding
so that it is bottom-aligned with the input. Based on the GIF you provided, it looks like the progress bar sits above the input's bottom border which is incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope; don't listen to me...apparently that bumps the progress bar below the autocomplete.
Fixes #6218 Closes #6231 Fixes #6255