Skip to content

Commit

Permalink
fix(list-box): remove 32px margin right on option (#5400)
Browse files Browse the repository at this point in the history
* fix(list-box): remove 32px margin right on option

* fix(list-box): reduce padding right by 8px
  • Loading branch information
abbeyhrt authored Feb 20, 2020
1 parent 969668a commit 382df04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/components/list-box/_list-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ $list-box-menu-width: rem(300px);
line-height: rem(16px);
padding: rem(11px) 0;
margin: 0 $carbon--spacing-05;
padding-right: rem(32px); // 40px - `$carbon--spacing-05`
padding-right: $carbon--spacing-06;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
border-top-color: $ui-03;
Expand Down Expand Up @@ -535,7 +535,7 @@ $list-box-menu-width: rem(300px);

.#{$prefix}--list-box.#{$prefix}--list-box--inline
.#{$prefix}--list-box__menu-item__option {
margin: 0 rem(32px) 0 $carbon--spacing-03;
margin: 0 $carbon--spacing-03;

&:focus {
margin: 0;
Expand Down

0 comments on commit 382df04

Please sign in to comment.