mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
394b785dca
close #21864
16 lines
336 B
Plaintext
16 lines
336 B
Plaintext
// mixins for clearfix
|
|
// ------------------------
|
|
.clearfix() {
|
|
// https://github.com/ant-design/ant-design/issues/21301#issuecomment-583955229
|
|
&::before {
|
|
display: table;
|
|
content: '';
|
|
}
|
|
&::after {
|
|
// https://github.com/ant-design/ant-design/issues/21864
|
|
display: table;
|
|
clear: both;
|
|
content: '';
|
|
}
|
|
}
|