Permalink
Browse files

Updating the IE9 hack to be less verbose - the media expression wasn'…

…t actually needed. Also, I've appended "ie8+9" and "ie9" to the end of the winning-man hack, aka \0/, just to show exactly what that hack targets (don't want to confuse future devs TOO much).
  • Loading branch information...
1 parent 755214e commit 8aeb0ab7a16a6bbbada0951f1f57bd1c04e02c23 @davidmurdoch committed May 20, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 themes/base/jquery.ui.button.css
@@ -46,7 +46,6 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
input.ui-button { padding: .43em .71em; } /* reset extra padding in Firefox */
}
a.ui-button-text-only .ui-button-text { padding: .46em 1.1em .56em !ie; } /* IE<8 needs some extra love to style anchors correctly */
-input.ui-button { margin-right: .34em !ie; padding-top:.47em \0/; } /* IE6,7 need help with margins and IE8 doesnt treat our em padding correctly */
-@media all and (min-width:0) {
- input.ui-button { padding-top:.45em \0/; } /* IE9 is also a bit odd */
-}
+input.ui-button { margin-right: .34em !ie; padding-top:.47em\0/ie8+9; } /* IE6,7 need help with margins and IE8 doesnt treat our em padding correctly */
+
+input.ui-button { padding-top:.45em \0/ie9; } /* IE9 is also a bit odd */

0 comments on commit 8aeb0ab

Please sign in to comment.