💄 Fix card loading edge when height is specified and small

This commit is contained in:
afc163 2018-12-19 16:37:25 +08:00
parent 3aeca7c10e
commit 51e3012dc6
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48

View File

@ -231,6 +231,21 @@
} }
} }
&-loading {
overflow: hidden;
position: relative;
&:after {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: @card-padding-base;
background: @component-background;
content: '';
}
}
&-loading &-body { &-loading &-body {
user-select: none; user-select: none;
} }