Visual Console Client: minor fix

Former-commit-id: e6085e0efed2896c5b1ba36166f6e81a0a73f4ad
This commit is contained in:
Alejandro Gallardo Escobar 2019-02-26 17:07:22 +01:00
parent 7a45d9f62e
commit 56f15f0369

@ -104,7 +104,7 @@ export default class Clock extends VisualConsoleItem<ClockProps> {
this.props.height * 2 < this.props.width
? this.props.height * 2
: this.props.width;
this.props.clockTimezone = "Madrid";
const baseTimeFontSize = 20; // Per 100px of width.
const dateFontSizeMultiplier = 0.5;
const tzFontSizeMultiplier = 6 / this.props.clockTimezone.length;