Browse Source

The old code for centering removed

Old code removed
balyn 7 years ago
parent
commit
fac0333f47
1 changed files with 1 additions and 3 deletions
  1. 1 3
      public/sass/components/_panel_singlestat.scss

+ 1 - 3
public/sass/components/_panel_singlestat.scss

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