فهرست منبع

Merge branch 'master' of https://github.com/mammuthus/grafana

Torkel Ödegaard 7 سال پیش
والد
کامیت
249e682511
1فایلهای تغییر یافته به همراه6 افزوده شده و 3 حذف شده
  1. 6 3
      public/sass/components/_panel_singlestat.scss

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

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