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

fix(mdAutocomplete): Fix small style regression introduced by #4647. #4695

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions src/components/autocomplete/autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,19 @@ md-autocomplete {
}
}
&[md-floating-label] {
padding-bottom: $input-container-padding + $input-error-height;
border-radius: 0;
background: transparent;
height: auto;

md-input-container {
padding-bottom: 0;
padding-bottom: $input-container-padding + $input-error-height;

// When we have ng-messages, remove the input error height from our bottom padding, since the
// ng-messages wrapper has a min-height of 1 error (so we don't adjust height as often; see
// input.scss file)
&.md-input-has-messages {
padding-bottom: $input-container-padding;
}
}
md-autocomplete-wrap {
height: auto;
Expand Down