From c21a5b4451f5eded288de4482b9508e2bd13756d Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Wed, 9 Nov 2011 12:57:52 -0500 Subject: [PATCH] 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 --- themes/base/jquery.ui.core.css | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/themes/base/jquery.ui.core.css b/themes/base/jquery.ui.core.css index 59e14d572..143d6c240 100644 --- a/themes/base/jquery.ui.core.css +++ b/themes/base/jquery.ui.core.css @@ -13,12 +13,9 @@ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } -.ui-helper-clearfix { display: inline-block; } -/* required comment for clearfix to work in Opera \*/ -* html .ui-helper-clearfix { height:1%; } -.ui-helper-clearfix { display:block; } -/* end clearfix */ +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } -- 2.39.5