Skip to content

Commit

Permalink
fix: date & time widget padding cut off (ajnart#2089)
Browse files Browse the repository at this point in the history
  • Loading branch information
hillaliy authored Jan 23, 2025
1 parent 1b4ed02 commit e4dd19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/widgets/src/clock/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)}
Expand Down

0 comments on commit e4dd19b

Please sign in to comment.