Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Theme base core: Updated clearfix to 'new micro clearfix hack' by Nic…

…olas Gallagher http://nicolasgallagher.com/micro-clearfix-hack/ . Fixed #7838 - Clearfix breaks after runs through YUI Compressor

(cherry picked from commit c21a5b4)
  • Loading branch information...
commit 6f6e2ded1a9b30f65a34733f3d887c16c162e28a 1 parent 1e28f83
Richard D. Worth authored November 09, 2011

Showing 1 changed file with 3 additions and 6 deletions. Show diff stats Hide diff stats

  1. 9  themes/base/jquery.ui.core.css
9  themes/base/jquery.ui.core.css
@@ -13,12 +13,9 @@
13 13
 .ui-helper-hidden { display: none; }
14 14
 .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15 15
 .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; }
22 19
 .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23 20
 
24 21
 

0 notes on commit 6f6e2de

Please sign in to comment.
Something went wrong with that request. Please try again.