Skip to content

Commit c21a5b4

Browse files
committed
Theme base core: Updated clearfix to 'new micro clearfix hack' by Nicolas Gallagher http://nicolasgallagher.com/micro-clearfix-hack/ . Fixed #7838 - Clearfix breaks after runs through YUI Compressor
1 parent 31b1761 commit c21a5b4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

themes/base/jquery.ui.core.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@
1313
.ui-helper-hidden { display: none; }
1414
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
1515
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16-
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17-
.ui-helper-clearfix { display: inline-block; }
18-
/* required comment for clearfix to work in Opera \*/
19-
* html .ui-helper-clearfix { height:1%; }
20-
.ui-helper-clearfix { display:block; }
21-
/* end clearfix */
16+
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
17+
.ui-helper-clearfix:after { clear: both; }
18+
.ui-helper-clearfix { zoom: 1; }
2219
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
2320

2421

0 commit comments

Comments
 (0)