mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Visual Console Client: minor fix
Former-commit-id: e6085e0efed2896c5b1ba36166f6e81a0a73f4ad
This commit is contained in:
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.height * 2
|
? this.props.height * 2
|
||||||
: this.props.width;
|
: this.props.width;
|
||||||
this.props.clockTimezone = "Madrid";
|
|
||||||
const baseTimeFontSize = 20; // Per 100px of width.
|
const baseTimeFontSize = 20; // Per 100px of width.
|
||||||
const dateFontSizeMultiplier = 0.5;
|
const dateFontSizeMultiplier = 0.5;
|
||||||
const tzFontSizeMultiplier = 6 / this.props.clockTimezone.length;
|
const tzFontSizeMultiplier = 6 / this.props.clockTimezone.length;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user