Removing redundant styles for icon-only buttons
authorrillke <rainerrillke@hotmail.com>
Thu, 18 Jul 2013 18:16:41 +0000 (20:16 +0200)
committerRillke <rainerrillke@hotmail.com>
Thu, 18 Jul 2013 18:27:40 +0000 (18:27 +0000)
As pointed out in bug 48593 (patched by
813cedb0308da58f3a2a4dc8ebefe489bf3005bc), these style rules are
overwritten later in the file and ignored by browser.
This patch will remove them as they do not serve any purpose.

Bug: 51623
Change-Id: Ib8aed40238f53198f207d4e57d0ced54622ad9e2

resources/jquery.ui/themes/vector/jquery.ui.button.css

index 8c834a3..ea14723 100644 (file)
        zoom: 1;
        overflow: visible; /* the overflow property removes extra width in IE */
 }
-.ui-button-icon-only {
-       width: 2.2em; /* to make room for the icon, a width needs to be set here */
-}
-button.ui-button-icon-only {
-       width: 2.4em; /* button elements seem to need a little more width */
-}
-.ui-button-icons-only {
-       width: 3.4em;
-}
-button.ui-button-icons-only {
-       width: 3.7em;
-}
 
 /*button text element */
 .ui-button .ui-button-text {