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
This commit is contained in:
Dan Winship 2011-03-25 10:59:45 -04:00
parent 924b31233b
commit 00fc4a2eb7

View File

@ -167,8 +167,8 @@ StTooltip StLabel {
/* Switches (to be used in menus) */ /* Switches (to be used in menus) */
.toggle-switch { .toggle-switch {
width: 4.5em; width: 65px;
height: 1.5em; height: 22px;
} }
.toggle-switch-us { .toggle-switch-us {