fix(searchbar): align cancel button to center with search icon position (#16259)

This commit is contained in:
Kevin Ports
2018-11-07 16:31:21 -06:00
committed by GitHub
parent bf96260b6b
commit 595786735c
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
// -----------------------------------------
.searchbar-cancel-button {
@include position(0, null, null, 10px);
@include position(0, null, null, 5px);
@include margin(0);
display: none;

View File

@@ -25,7 +25,7 @@ $searchbar-md-cancel-button-color: $text-color-step-100 !default;
$searchbar-md-cancel-button-background-color: transparent !default;
/// @prop - Font size of the searchbar cancel button
$searchbar-md-cancel-button-font-size: 1.8em !default;
$searchbar-md-cancel-button-font-size: 1.6em !default;
/// @prop - Color of the searchbar input search icon
$searchbar-md-input-search-icon-color: $text-color-step-400 !default;