mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
increasing font size on longer strings
This commit is contained in:
parent
4b0df606d5
commit
462bdb6d13
@ -115,7 +115,7 @@ export class Gauge extends PureComponent<Props> {
|
||||
|
||||
getFontScale(length: number): number {
|
||||
if (length > 12) {
|
||||
return FONT_SCALE - length * 5 / 115;
|
||||
return FONT_SCALE - length * 5 / 120;
|
||||
}
|
||||
return FONT_SCALE - length * 5 / 105;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user