diff --git a/src/components/form/form_control_layout/_mixins.scss b/src/components/form/form_control_layout/_mixins.scss index 37380b8c548..19c03564c0e 100644 --- a/src/components/form/form_control_layout/_mixins.scss +++ b/src/components/form/form_control_layout/_mixins.scss @@ -17,9 +17,9 @@ pointer-events: all; @include size($clearSize); - background-color: transparentize($euiColorMediumShade, .5); + background-color: lightOrDarkTheme($euiColorMediumShade, $euiColorDarkShade); border-radius: $clearSize; - line-height: $clearSize; + line-height: 0; // ensures the icon stays vertically centered &:focus { @include euiFocusRing; @@ -30,8 +30,5 @@ fill: $euiColorEmptyShade; stroke: $euiColorEmptyShade; stroke-width: 3px; // increase thickness of icon at such a small size - // better vertical position fix that works with IE - position: relative; - top: -2px; } }