Skip to content

Commit

Permalink
fix(ListBox): correctly position menu chevron (#8155)
Browse files Browse the repository at this point in the history
* Revert "fix(ListBox): add top positioning to chevron (#7990)"

This reverts commit 460bf18.

* fix(dropdown): remove overwriting mixin

* refactor(dropdown): remove redundant rule

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
emyarod and kodiakhq[bot] authored Mar 23, 2021
1 parent 8756867 commit 0aed1a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions packages/components/src/components/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@

// Menu's triggering element updated to button with Downshift v5 upgrade
.#{$prefix}--dropdown .#{$prefix}--list-box__field {
@include button-reset;

padding: 0 rem(48px) 0 rem(16px);
text-align: left;

// Windows, Firefox HCM Fix
Expand Down
1 change: 0 additions & 1 deletion packages/components/src/components/list-box/_list-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@ $list-box-menu-width: rem(300px);
@include button-reset($width: false);

position: absolute;
top: $carbon--spacing-03;
right: $carbon--spacing-05;
display: flex;
align-items: center;
Expand Down

0 comments on commit 0aed1a8

Please sign in to comment.