From 382df0407d4e9548c318f2091a9dea01bffe1da6 Mon Sep 17 00:00:00 2001 From: Abbey Hart Date: Thu, 20 Feb 2020 15:29:41 -0600 Subject: [PATCH] fix(list-box): remove 32px margin right on option (#5400) * fix(list-box): remove 32px margin right on option * fix(list-box): reduce padding right by 8px --- packages/components/src/components/list-box/_list-box.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/components/list-box/_list-box.scss b/packages/components/src/components/list-box/_list-box.scss index 255bef7c2628..ffa81bfe0c23 100644 --- a/packages/components/src/components/list-box/_list-box.scss +++ b/packages/components/src/components/list-box/_list-box.scss @@ -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; @@ -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;