From e14ef4a294f612196af9ecb48b067826854dc3b5 Mon Sep 17 00:00:00 2001 From: Allan Day Date: Thu, 29 Nov 2012 14:29:09 +0000 Subject: [PATCH] theme: remove excessive padding from notification buttons Set the button width manually and remove the huge horizontal padding we had. This means that long button labels don't get cut off. https://bugzilla.gnome.org/show_bug.cgi?id=664411 --- data/theme/gnome-shell.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index c2d575f35..954d50a55 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1453,11 +1453,13 @@ StScrollBar StButton#vhandle:active { } .notification-button { - padding: 4px 42px 5px; + -st-natural-width: 140px; + padding: 4px 4px 5px; } .notification-button:focus { - padding: 3px 41px 4px; + -st-natural-width: 138px; + padding: 3px 4px 4px; } .notification-icon-button {