]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix Opera .clearfix bug when using contenteditable 3935/head 3976/head
authorBen Vinegar <ben@benv.ca>
Tue, 26 Jun 2012 00:35:42 +0000 (17:35 -0700)
committerBen Vinegar <ben@benv.ca>
Tue, 26 Jun 2012 00:35:42 +0000 (17:35 -0700)
less/mixins.less

index c3b57ed14238feca148dc8ab80e039a9c6bae066..9027fbcbf19ad58da2c81bc586963dc27be313de 100644 (file)
@@ -15,6 +15,9 @@
   &:after {
     display: table;
     content: "";
+    // Fixes Opera/contenteditable bug:
+    // http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952
+    line-height: 0;
   }
   &:after {
     clear: both;