Skip to content

Commit 3122fd7

Browse files
committed
Fixes #1290, change selector for search icon to work with div, remove unused styles
1 parent f6cc77c commit 3122fd7

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

client/styles/components/_searchbar.scss

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
}
1717

18-
button[type="submit"].searchbar__button {
18+
div.searchbar__button {
1919
background-color: unset;
2020
width: #{31 / $base-font-size}rem;
2121
height: #{36 / $base-font-size}rem;
@@ -29,15 +29,6 @@ button[type="submit"].searchbar__button {
2929
@include themify() {
3030
border-right-color: getThemifyVariable('input-border-color');
3131
}
32-
&:enabled:hover {
33-
background-color: unset;
34-
@include themify() {
35-
border-right-color: getThemifyVariable('input-border-color');
36-
}
37-
& g {
38-
fill: unset;
39-
}
40-
}
4132
}
4233

4334
.searchbar__icon {
@@ -46,6 +37,7 @@ button[type="submit"].searchbar__button {
4637
width: #{22 / $base-font-size}rem;
4738
height: #{27 / $base-font-size}rem;
4839
transform: scaleX(-1);
40+
padding-top: #{3 / $base-font-size}rem;
4941
@include themify() {
5042
fill: getThemifyVariable('input-text-color');
5143
}

0 commit comments

Comments
 (0)