mirror of https://github.com/ElemeFE/element
Fix empty text display in firefox. (#1347)
parent
4617526367
commit
090f91d057
|
@ -52,7 +52,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@e empty-block {
|
@e empty-block {
|
||||||
display: table;
|
position: relative;
|
||||||
min-height: 60px;
|
min-height: 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -60,8 +60,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@e empty-text {
|
@e empty-text {
|
||||||
display: table-cell;
|
position: absolute;
|
||||||
vertical-align: middle;
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
color: #5e6d82;
|
color: #5e6d82;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
border: 1px solid #d3dce6;
|
border: 1px solid #d3dce6;
|
||||||
|
|
||||||
@e empty-block {
|
@e empty-block {
|
||||||
display: table;
|
position: relative;
|
||||||
min-height: 60px;
|
min-height: 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -16,8 +16,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@e empty-text {
|
@e empty-text {
|
||||||
display: table-cell;
|
position: absolute;
|
||||||
vertical-align: middle;
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
color: #5e6d82;
|
color: #5e6d82;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue