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

fix(autocomplete): fix progressbar and messages alignment and bottom padding #6258

Closed

Conversation

devversion
Copy link
Member

  • 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 #6218 Closes #6231 Fixes #6255

…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
@AdriVanHoudt
Copy link
Contributor

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

@devversion
Copy link
Member Author

The padding is already added by the Input Container

Little preview for you:

@vitorlopez
Copy link

Works perfectly for me @devversion !

@devversion
Copy link
Member Author

Thanks for checking it out :)

@AdriVanHoudt
Copy link
Contributor

I had a fix going for #5672 so that messed it up sorry ^^

@ThomasBurleson ThomasBurleson added pr: merge ready This PR is ready for a caretaker to review - Breaking Change labels Feb 29, 2016
@ThomasBurleson ThomasBurleson added this to the 1.0.7 milestone Feb 29, 2016
&.md-input-has-messages {
padding-bottom: $input-container-padding;
}
padding-bottom: 0px;
Copy link
Contributor

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.

Copy link
Contributor

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.

@devversion devversion deleted the fix/autocomplete-padding-bottom branch April 19, 2016 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
- Breaking Change pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants