Tidy up the search bar double border fix

Match "box" instead of "*", as already done for the search bar GTK4 and
for the action box in GTK3. Also clarify which widget property is
causing the margin which needs to be undone.
This commit is contained in:
Nikita Churaev
2018-03-09 22:13:01 +03:00
parent b202c44fd8
commit 4e2f59ad23
4 changed files with 16 additions and 14 deletions

View File

@ -1172,11 +1172,13 @@ toolbar { //FIXME: why is all this being ignored?
}
}
searchbar > revealer > * {
searchbar > revealer > box {
@extend toolbar;
border-width: 0 0 1px;
border-color: $borders_color;
border-style: none none solid none;
// workaround: undo the GtkContainer::border-width and use CSS padding instead
margin: -6px;
padding: 9px;
}