[gnome-shell] theme: remove excessive padding from notification buttons
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] theme: remove excessive padding from notification buttons
- Date: Mon, 8 Apr 2013 17:29:31 +0000 (UTC)
commit e14ef4a294f612196af9ecb48b067826854dc3b5
Author: Allan Day <allanpday gmail com>
Date: Thu Nov 29 14:29:09 2012 +0000
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 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index c2d575f..954d50a 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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]