From 3761d50c5a4bfd2b518cd6ab68ef3474e191ee6d Mon Sep 17 00:00:00 2001 From: Ben Vinegar Date: Mon, 25 Jun 2012 17:35:42 -0700 Subject: [PATCH] Fix Opera .clearfix bug when using contenteditable --- less/mixins.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/less/mixins.less b/less/mixins.less index c3b57ed142..9027fbcbf1 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -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;