Commit 090f91d0 authored by FuryBean's avatar FuryBean Committed by cinwell.li

Fix empty text display in firefox. (#1347)

parent 46175263
...@@ -52,7 +52,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment