From 0aed1a89cab029d93f421ef5144f9025ce0858c9 Mon Sep 17 00:00:00 2001 From: emyarod <emyarod@users.noreply.github.com> Date: Tue, 23 Mar 2021 13:55:46 -0500 Subject: [PATCH] fix(ListBox): correctly position menu chevron (#8155) * Revert "fix(ListBox): add top positioning to chevron (#7990)" This reverts commit 460bf181b5a4f316c3b36a8494b54e5e909c61e1. * fix(dropdown): remove overwriting mixin * refactor(dropdown): remove redundant rule Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/components/src/components/dropdown/_dropdown.scss | 3 --- packages/components/src/components/list-box/_list-box.scss | 1 - 2 files changed, 4 deletions(-) diff --git a/packages/components/src/components/dropdown/_dropdown.scss b/packages/components/src/components/dropdown/_dropdown.scss index 074c3f72897a..20fafa6f724f 100644 --- a/packages/components/src/components/dropdown/_dropdown.scss +++ b/packages/components/src/components/dropdown/_dropdown.scss @@ -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 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;