mirror of https://github.com/ElemeFE/element
Table: fix empty slot position (#11965)
parent
3b58e65132
commit
4b04a1c70b
|
@ -17,18 +17,17 @@
|
||||||
|
|
||||||
// 数据为空
|
// 数据为空
|
||||||
@include e(empty-block) {
|
@include e(empty-block) {
|
||||||
position: relative;
|
|
||||||
min-height: 60px;
|
min-height: 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include e(empty-text) {
|
@include e(empty-text) {
|
||||||
position: absolute;
|
width: 50%;
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
color: $--color-text-secondary;
|
color: $--color-text-secondary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue