[gnome-shell] gnome-shell.css: fix padding/alignment of menu toggle switches
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] gnome-shell.css: fix padding/alignment of menu toggle switches
- Date: Fri, 25 Mar 2011 22:56:35 +0000 (UTC)
commit 00fc4a2eb76e088632aa9551f3a368eac8e00928
Author: Dan Winship <danw gnome org>
Date: Fri Mar 25 10:59:45 2011 -0400
gnome-shell.css: fix padding/alignment of menu toggle switches
We do not support scaling background-images, so setting the
toggle-switch size to anything other than the natural size of the
image just results in it getting padding, which makes it look
improperly aligned.
https://bugzilla.gnome.org/show_bug.cgi?id=645647
data/theme/gnome-shell.css | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 1909da9..1ae4165 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -167,8 +167,8 @@ StTooltip StLabel {
/* Switches (to be used in menus) */
.toggle-switch {
- width: 4.5em;
- height: 1.5em;
+ width: 65px;
+ height: 22px;
}
.toggle-switch-us {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]