mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
update clearfix mixin (#21109)
Refs: ff29c1224c/scss/mixins/_clearfix.scss
This commit is contained in:
parent
3ee4d822fc
commit
bf56026809
@ -1,13 +1,9 @@
|
||||
// mixins for clearfix
|
||||
// ------------------------
|
||||
.clearfix() {
|
||||
zoom: 1;
|
||||
&::before,
|
||||
&::after {
|
||||
display: table;
|
||||
display: block;
|
||||
clear: both;
|
||||
content: '';
|
||||
}
|
||||
&::after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user