Fixes #1290, change selector for search icon to work with div, remove unused styles

This commit is contained in:
Cassie Tarakajian 2020-04-02 15:54:40 -04:00
parent f6cc77cd70
commit 3122fd76a4

View file

@ -15,7 +15,7 @@
}
}
button[type="submit"].searchbar__button {
div.searchbar__button {
background-color: unset;
width: #{31 / $base-font-size}rem;
height: #{36 / $base-font-size}rem;
@ -29,15 +29,6 @@ button[type="submit"].searchbar__button {
@include themify() {
border-right-color: getThemifyVariable('input-border-color');
}
&:enabled:hover {
background-color: unset;
@include themify() {
border-right-color: getThemifyVariable('input-border-color');
}
& g {
fill: unset;
}
}
}
.searchbar__icon {
@ -46,6 +37,7 @@ button[type="submit"].searchbar__button {
width: #{22 / $base-font-size}rem;
height: #{27 / $base-font-size}rem;
transform: scaleX(-1);
padding-top: #{3 / $base-font-size}rem;
@include themify() {
fill: getThemifyVariable('input-text-color');
}