Fix fonts in context menus

Context menus inherit their style from the widget they are attached
to. This can have unexpected effects in particular for font, as can
be seen in gedit or gnome-calculator. Prevent this by resetting
the font of context-menus to the initial value.
This commit is contained in:
Matthias Clasen
2014-10-01 07:11:43 -04:00
parent 3ae6d33667
commit d763169bb5

View File

@@ -2825,3 +2825,8 @@ GtkVolumeButton.button { padding: 8px; }
&:backdrop { color: if($variant=='light', $backdrop_base_color,
$backdrop_fg_color); }
}
/* Decouple the font of context menus from their entry/textview */
.context-menu {
font: initial;
}