Skip to content

Commit

Permalink
Fixes combobox height with appendees (#1338) (#1339)
Browse files Browse the repository at this point in the history
---------


(cherry picked from commit f704404)

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 61b09ef commit 70d4cdb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/components/combo_box/_combo_box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,19 @@
}
}

// Overrides the top and bottom padding of 8px with ouiFormControlLayout--group
// when append/prepend is enabled, original top, bottom padding was 1px
.ouiFormControlLayout--group {
padding-top: 0;
padding-bottom: 0;
}

// Overrides line-height of 16px coming from ouiFormControlLayout--group .ouiText
.ouiFormControlLayout--group .ouiText {
// sass-lint:disable-block no-important
line-height: 0 !important;
}

// Overrides the ouiFormControlLayout prepend and append height that is 100%
.ouiFormControlLayout__prepend,
.ouiFormControlLayout__append {
Expand Down

0 comments on commit 70d4cdb

Please sign in to comment.