From: rillke Date: Thu, 18 Jul 2013 18:16:41 +0000 (+0200) Subject: Removing redundant styles for icon-only buttons X-Git-Tag: 1.31.0-rc.0~19165^2 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=5ddd0b3a391b2a11f012c8d95d3d1913422eb278;p=lhc%2Fweb%2Fwiklou.git Removing redundant styles for icon-only buttons 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 --- diff --git a/resources/jquery.ui/themes/vector/jquery.ui.button.css b/resources/jquery.ui/themes/vector/jquery.ui.button.css index 8c834a3108..ea14723f51 100644 --- a/resources/jquery.ui/themes/vector/jquery.ui.button.css +++ b/resources/jquery.ui/themes/vector/jquery.ui.button.css @@ -12,18 +12,6 @@ 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 {