From 5ddd0b3a391b2a11f012c8d95d3d1913422eb278 Mon Sep 17 00:00:00 2001 From: rillke Date: Thu, 18 Jul 2013 20:16:41 +0200 Subject: [PATCH] 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 --- .../jquery.ui/themes/vector/jquery.ui.button.css | 12 ------------ 1 file changed, 12 deletions(-) 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 { -- 2.20.1