Explorar o código

revert: reverted singlestat panel position change PR #12004

Torkel Ödegaard %!s(int64=7) %!d(string=hai) anos
pai
achega
829af9425f
Modificáronse 1 ficheiros con 5 adicións e 6 borrados
  1. 5 6
      public/sass/components/_panel_singlestat.scss

+ 5 - 6
public/sass/components/_panel_singlestat.scss

@@ -7,14 +7,13 @@
 
 .singlestat-panel-value-container {
   line-height: 1;
-  position: absolute;
+  display: table-cell;
+  vertical-align: middle;
+  text-align: center;
+  position: relative;
   z-index: 1;
   font-size: 3em;
-  font-weight: bold;
-  margin: 0;
-  top: 50%;
-  left: 50%;
-  transform: translate(-50%, -50%);
+  font-weight: $font-weight-semi-bold;
 }
 
 .singlestat-panel-prefix {