grafana/public/sass/components/_panel_singlestat.scss
Julien Pivotto 6a6633ab86 Fix small singlestat value display
This fix improves the rendering of singlestats in small boxes in grafana
5. This allows the user to get boxes oh height=1 and still see the value
of the stat entirely.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2017-12-23 14:57:37 +01:00

26 lines
424 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;
position: relative;
z-index: 1;
font-size: 3em;
font-weight: bold;
}
.singlestat-panel-prefix {
padding-right: 20px;
}
#flotGagueValue0 {
font-weight: bold; //please dont hurt me for this!
}