From 56b6757ad6d8e74a75491917b711d4910af10686 Mon Sep 17 00:00:00 2001 From: emyarod Date: Mon, 22 Mar 2021 12:10:25 -0500 Subject: [PATCH 1/3] Revert "fix(ListBox): add top positioning to chevron (#7990)" This reverts commit 460bf181b5a4f316c3b36a8494b54e5e909c61e1. --- packages/components/src/components/list-box/_list-box.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/components/src/components/list-box/_list-box.scss b/packages/components/src/components/list-box/_list-box.scss index 9c5033b2b6ef..ea2263425674 100644 --- a/packages/components/src/components/list-box/_list-box.scss +++ b/packages/components/src/components/list-box/_list-box.scss @@ -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; From 01927ab12702f7e8458ede72480121f1b113fdd1 Mon Sep 17 00:00:00 2001 From: emyarod Date: Mon, 22 Mar 2021 12:16:01 -0500 Subject: [PATCH 2/3] fix(dropdown): remove overwriting mixin --- packages/components/src/components/dropdown/_dropdown.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/components/src/components/dropdown/_dropdown.scss b/packages/components/src/components/dropdown/_dropdown.scss index 074c3f72897a..4a7101f4335a 100644 --- a/packages/components/src/components/dropdown/_dropdown.scss +++ b/packages/components/src/components/dropdown/_dropdown.scss @@ -66,8 +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; From ec315a1c5c26a5a53b9b2055e88660afaa1f49dd Mon Sep 17 00:00:00 2001 From: emyarod Date: Mon, 22 Mar 2021 12:16:23 -0500 Subject: [PATCH 3/3] refactor(dropdown): remove redundant rule --- packages/components/src/components/dropdown/_dropdown.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/components/src/components/dropdown/_dropdown.scss b/packages/components/src/components/dropdown/_dropdown.scss index 4a7101f4335a..20fafa6f724f 100644 --- a/packages/components/src/components/dropdown/_dropdown.scss +++ b/packages/components/src/components/dropdown/_dropdown.scss @@ -66,7 +66,6 @@ // Menu's triggering element updated to button with Downshift v5 upgrade .#{$prefix}--dropdown .#{$prefix}--list-box__field { - padding: 0 rem(48px) 0 rem(16px); text-align: left; // Windows, Firefox HCM Fix