mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
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>
26 lines
424 B
SCSS
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!
|
|
}
|