ant-design-blazor/components/style/mixins/clearfix.less

16 lines
336 B
Plaintext
Raw Normal View History

2019-12-05 22:58:05 +08:00
// mixins for clearfix
// ------------------------
.clearfix() {
// https://github.com/ant-design/ant-design/issues/21301#issuecomment-583955229
&::before {
2019-12-05 22:58:05 +08:00
display: table;
content: '';
}
&::after {
2020-03-09 00:09:32 +08:00
// https://github.com/ant-design/ant-design/issues/21864
display: table;
2019-12-05 22:58:05 +08:00
clear: both;
content: '';
2019-12-05 22:58:05 +08:00
}
}