update clearfix mixin (#21109)

Refs: ff29c1224c/scss/mixins/_clearfix.scss
This commit is contained in:
Teng YANG 2020-01-26 21:42:14 +08:00 committed by 偏右
parent 3ee4d822fc
commit bf56026809

View File

@ -1,13 +1,9 @@
// mixins for clearfix
// ------------------------
.clearfix() {
zoom: 1;
&::before,
&::after {
display: table;
display: block;
clear: both;
content: '';
}
&::after {
clear: both;
}
}