Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix: date & time widget padding cut off (#2089)

Yossi Hillalie4dd19b574bf
diff --git a/packages/widgets/src/clock/component.tsx b/packages/widgets/src/clock/component.tsx
index 6c30f8ffe..b32c5dbe1 100644
--- a/packages/widgets/src/clock/component.tsx
+++ b/packages/widgets/src/clock/component.tsx
@@ -30,7 +30,7 @@ export default function ClockWidget({ options }: WidgetComponentProps<"clock">)
{dayjs(time).tz(timezone).format(timeFormat)}
</Text>
{options.showDate && (
- <Text className="clock-date-text" size="12.5cqmin" pt="1cqmin" lineClamp={1}>
+ <Text className="clock-date-text" size="12.5cqmin" p="1cqmin" lineClamp={1}>
{dayjs(time).tz(timezone).format(dateFormat)}
</Text>
)}