From 29556006427088ed9f8b8e96d5863030a8f9f385 Mon Sep 17 00:00:00 2001 From: "Jamie.LiuMJ" <8545094+LiuRhoRamen@users.noreply.github.com> Date: Mon, 21 May 2018 21:52:15 +0800 Subject: [PATCH] fix clearfix (#10563) --- components/style/mixins/clearfix.less | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/style/mixins/clearfix.less b/components/style/mixins/clearfix.less index d5bbf76707..8eefb38bed 100644 --- a/components/style/mixins/clearfix.less +++ b/components/style/mixins/clearfix.less @@ -4,13 +4,10 @@ zoom: 1; &:before, &:after { - content: " "; + content: ""; display: table; } &:after { clear: both; - visibility: hidden; - font-size: 0; - height: 0; } }