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) {
|
||||
position: relative;
|
||||
min-height: 60px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@include e(empty-text) {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 50%;
|
||||
color: $--color-text-secondary;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue