Adwaita: fix separator margin in popovers

Commit 0b96b8a1 set margins via css, but accidentally changed the
semantics of margins for separators in popovers so that any separator
in a gtkpopover had a margin. This meant that the separators in
GtkListBoxes in popovers also had a margin around their separators, and
this is not what we want because it doesn't match separators in
listboxes not in popovers.

https://bugzilla.gnome.org/show_bug.cgi?id=760427
This commit is contained in:
Hashem Nasarat 2016-01-11 01:02:41 -05:00 committed by Lapo Calamandrei
parent 2c0b251dac
commit 473433c93d
3 changed files with 5 additions and 5 deletions

View File

@ -1773,7 +1773,7 @@ popover.background {
&.osd { @extend %osd; }
}
separator { margin: 3px; }
list separator { margin: 0px; }
}
/*************

View File

@ -2205,8 +2205,8 @@ popover.background {
transition: none; }
popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection, .csd popover.background.magnifier {
border: 1px solid rgba(255, 255, 255, 0.1); }
popover.background separator {
margin: 3px; }
popover.background list separator {
margin: 0px; }
/*************
* Notebooks *

View File

@ -2215,8 +2215,8 @@ popover.background {
transition: none; }
popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection, .csd popover.background.magnifier {
border: 1px solid rgba(255, 255, 255, 0.1); }
popover.background separator {
margin: 3px; }
popover.background list separator {
margin: 0px; }
/*************
* Notebooks *