From 9b5bb62aa7b53ad73e54eacd64b8d4eece5b3523 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Thu, 8 Mar 2012 17:29:08 +0100 Subject: [PATCH] css: Symbolic icons size must actually be specified relative to font size Commit a277f8e0e1003b6c60d82f37f557e115a2781419 prevents icons from being scaled when the global desktop resolution changes which is wrong since symbolic icons are supposed to be treated like text. Instead of specifying their size in pixels, go back to em but with a value adjusted to the new font size that actually yields unscaled symbolic icons for the default resolution. https://bugzilla.gnome.org/show_bug.cgi?id=671657 --- data/theme/gnome-shell.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 7b5684f6f..d1bb16375 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -251,7 +251,7 @@ StScrollBar StButton#vhandle:hover } .popup-menu-icon { - icon-size: 16px; + icon-size: 1.09em; } /* Switches */ @@ -479,7 +479,7 @@ StScrollBar StButton#vhandle:hover } .system-status-icon { - icon-size: 16px; + icon-size: 1.09em; } /* Overview */ @@ -617,7 +617,7 @@ StScrollBar StButton#vhandle:hover } .search-entry-icon { - icon-size: 16px; + icon-size: 1em; color: #8d8f8a; }