From 597cd9c7abd5e4531ad3c7886d2e2261da42e1c1 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 5 Aug 2010 10:39:05 -0400 Subject: [PATCH] [messageTray] fix padding/spacing around summary items The space between the rightmost item and the edge of the screen should be considered part of the rightmost item, and the space between items should be considered part of the adjacent items, to prevent excess jitter when moving between them. https://bugzilla.gnome.org/show_bug.cgi?id=626112 --- data/theme/gnome-shell.css | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index d24d71916..c141029e3 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -938,14 +938,9 @@ StTooltip { * icons, because then the summary would be 0x0 when there were no * icons in it, and so you wouldn't be able to hover over it to * activate it. - * - * The padding-right on the non-rightmost icons is noticeable and - * slightly annoying. If StBoxLayout implemented the ":last-child" - * pseudo-class we could fix that... */ #summary-mode { - spacing: 6px; - padding: 2px 12px 0px 4px; + padding: 2px 0px 0px 4px; height: 36px; } @@ -953,6 +948,15 @@ StTooltip { spacing: 4px; } +.summary-source-button { + padding-left: 3px; + padding-right: 3px; +} + +.summary-source-button:last-child { + padding-right: 12px; +} + .source-title { font: 12px sans-serif; font-weight: bold;