From 7e9372bafaeeb37dd4d8d78fff3a914731784f81 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 1 Oct 2014 07:11:43 -0400 Subject: [PATCH] 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. --- gtk/resources/theme/Adwaita/_common.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss index d1cc98db5a..a4186d8e6d 100644 --- a/gtk/resources/theme/Adwaita/_common.scss +++ b/gtk/resources/theme/Adwaita/_common.scss @@ -2834,3 +2834,7 @@ GtkVolumeButton.button { padding: 8px; } padding: 10px; } +/* Decouple the font of context menus from their entry/textview */ +.context-menu { + font: initial; +}