mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 01:23:32 -06:00
There is a problem with vertical alignment of Singlestat value - it's a bit lower then it has to be. This hack fix it.
31 lines
522 B
SCSS
31 lines
522 B
SCSS
.singlestat-panel {
|
|
position: relative;
|
|
display: table;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.singlestat-panel-value-container {
|
|
line-height: 1;
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
z-index: 1;
|
|
font-size: 3em;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.singlestat-panel-prefix {
|
|
padding-right: 20px;
|
|
}
|
|
|
|
#flotGagueValue0 {
|
|
font-weight: bold; //please dont hurt me for this!
|
|
}
|