diff --git a/docs/ui-guidelines.md b/docs/ui-guidelines.md index d58ef382d..fcb14b166 100644 --- a/docs/ui-guidelines.md +++ b/docs/ui-guidelines.md @@ -218,7 +218,31 @@ labelled ` handleHourChange(Number(e.target.value))} @@ -201,7 +202,7 @@ export function MoodReminderCard({ {`${h.toString().padStart(2, "0")}:00`} ))} - + )} {msg && ( @@ -210,8 +211,8 @@ export function MoodReminderCard({ aria-live="polite" className={ msgType === "error" - ? "text-destructive mt-3 text-sm" - : "text-muted-foreground mt-3 text-sm" + ? "text-destructive mt-3 pl-7 text-sm" + : "text-muted-foreground mt-3 pl-7 text-sm" } > {msg} diff --git a/src/components/settings/notification-status-card.tsx b/src/components/settings/notification-status-card.tsx index fe9b5c835..9b1c10fa4 100644 --- a/src/components/settings/notification-status-card.tsx +++ b/src/components/settings/notification-status-card.tsx @@ -136,12 +136,12 @@ export function NotificationStatusCard() { data-testid="notification-status-empty" >
- +

{t("settings.notificationStatus.title")}

-

+

{t("settings.notificationStatus.emptyDescription")}

@@ -152,12 +152,12 @@ export function NotificationStatusCard() {
- +

{t("settings.notificationStatus.title")}

-

+

{t("settings.notificationStatus.description")}

diff --git a/src/components/settings/notifications-section.tsx b/src/components/settings/notifications-section.tsx index c03e123b0..f4bf8b6a5 100644 --- a/src/components/settings/notifications-section.tsx +++ b/src/components/settings/notifications-section.tsx @@ -77,7 +77,7 @@ export function NotificationsSection() {

{t("settings.sections.notifications.title")}

diff --git a/src/components/settings/ntfy-card.tsx b/src/components/settings/ntfy-card.tsx index dc0007425..8d6319dc6 100644 --- a/src/components/settings/ntfy-card.tsx +++ b/src/components/settings/ntfy-card.tsx @@ -91,7 +91,7 @@ export function NtfyCard({ isAuthenticated }: { isAuthenticated: boolean }) { description={t("settings.ntfyDescription")} /> -
+

{sectionTitle}

diff --git a/src/components/settings/sources-section.tsx b/src/components/settings/sources-section.tsx index 23c4b7e48..2799e30c5 100644 --- a/src/components/settings/sources-section.tsx +++ b/src/components/settings/sources-section.tsx @@ -301,7 +301,7 @@ export function SourcesSection() {

{t("settings.sections.sources.title")}

@@ -325,7 +325,7 @@ export function SourcesSection() {
- +

{t("settings.sections.sources.cardTitle")}

@@ -342,7 +342,7 @@ export function SourcesSection() {
-

+

{t("settings.sections.sources.help")}

diff --git a/src/components/settings/telegram-card.tsx b/src/components/settings/telegram-card.tsx index e886663ae..0af940ef7 100644 --- a/src/components/settings/telegram-card.tsx +++ b/src/components/settings/telegram-card.tsx @@ -96,7 +96,7 @@ export function TelegramCard({ description={t("settings.telegramDescription")} /> -
+
diff --git a/src/components/settings/thresholds-editor-section.tsx b/src/components/settings/thresholds-editor-section.tsx index 4ac8bf765..6736bacbc 100644 --- a/src/components/settings/thresholds-editor-section.tsx +++ b/src/components/settings/thresholds-editor-section.tsx @@ -128,7 +128,7 @@ export function ThresholdsEditorSection({ id }: { id: string }) { control affordance. */}