search box: Align the search exit button for pills and legacy.

This commit aligns the search icon in the navbar (with the search bar
closed) to be in the same position as the "search_exit" or "x" icon
(which appears when the search bar is open).
This commit is contained in:
YashRE42
2020-06-09 23:08:34 +05:30
committed by Tim Abbott
parent 716a39fcb5
commit 43bf6a0b1a

View File

@@ -1620,7 +1620,7 @@ div.focused_table {
position: absolute; position: absolute;
.search_button { .search_button {
display: inline; display: inline;
margin-right: 16px; margin-right: 15px;
} }
} }
@@ -1663,7 +1663,7 @@ div.focused_table {
.search_button, .search_button,
.search_button[disabled]:hover { .search_button[disabled]:hover {
position: absolute; position: absolute;
right: 20px; right: 35px;
top: 6px; top: 6px;
background: none; background: none;
border-radius: 0px; border-radius: 0px;
@@ -1738,6 +1738,14 @@ div.focused_table {
#search_query { #search_query {
padding-left: 35px; padding-left: 35px;
} }
.search_button {
right: 0px;
}
.navbar-search.expanded {
.search_button {
margin-right: 14px;
}
}
} }
#tab_bar_underpadding { #tab_bar_underpadding {