A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: fix time field not aligning in reminder dialog (#9202)
01zulfi3d847ea00cab
diff --git a/apps/web/src/dialogs/add-reminder-dialog.tsx b/apps/web/src/dialogs/add-reminder-dialog.tsxindex dbfa1b271..b90d52486 100644--- a/apps/web/src/dialogs/add-reminder-dialog.tsx+++ b/apps/web/src/dialogs/add-reminder-dialog.tsx@@ -378,7 +378,17 @@ export const AddReminderDialog = DialogManager.register(</Flex>) : null}- <Flex sx={{ gap: 2, overflowX: "auto", mt: 2 }}>+ <Flex+ sx={{+ gap: 2,+ overflowX: "auto",+ mt: 2,+ flexDirection:+ mode === Modes.REPEAT && recurringMode === RecurringModes.YEAR+ ? "column"+ : "row"+ }}+ >{mode === Modes.ONCE ? (<><Field@@ -432,7 +442,7 @@ export const AddReminderDialog = DialogManager.register(</PopupPresenter></>) : recurringMode === RecurringModes.YEAR ? (- <>+ <Flex sx={{ gap: 2 }}><LabeledSelectid="month"label={strings.month()}@@ -459,13 +469,14 @@ export const AddReminderDialog = DialogManager.register(setDate((d) => d.date(parseInt(day)));}}/>- </>+ </Flex>) : null}<Fieldid="time"label={strings.time()}requireddata-test-id="time-input"+ sx={{ alignSelf: "flex-start" }}helpText={`${db.settings.getTimeFormat() === "12-hour"? "hh:mm AM/PM"@@ -524,7 +535,10 @@ export const AddReminderDialog = DialogManager.register(</Text>) : (<Text variant="subBody" sx={{ mt: 1 }}>- {strings.reminderStarts(date.format(db.settings.getDateFormat()), date.format(timeFormat()))}+ {strings.reminderStarts(+ date.format(db.settings.getDateFormat()),+ date.format(timeFormat())+ )}</Text>)}diff --git a/packages/intl/locale/en.po b/packages/intl/locale/en.poindex 7aade2bf5..9c3f44976 100644--- a/packages/intl/locale/en.po+++ b/packages/intl/locale/en.po@@ -3943,11 +3943,8 @@ msgstr "Monographs can be encrypted with a secret key and shared with anyone."msgid "Monographs enable you to share your notes in a secure and private way."msgstr "Monographs enable you to share your notes in a secure and private way."-#: src/strings.ts:1840-msgid "month"-msgstr "month"-#: src/strings.ts:665+#: src/strings.ts:1840msgid "Month"msgstr "Month"diff --git a/packages/intl/locale/pseudo-LOCALE.po b/packages/intl/locale/pseudo-LOCALE.poindex 75263853e..f5734f6d8 100644--- a/packages/intl/locale/pseudo-LOCALE.po+++ b/packages/intl/locale/pseudo-LOCALE.po@@ -3923,11 +3923,8 @@ msgstr ""msgid "Monographs enable you to share your notes in a secure and private way."msgstr ""-#: src/strings.ts:1840-msgid "month"-msgstr ""-#: src/strings.ts:665+#: src/strings.ts:1840msgid "Month"msgstr ""diff --git a/packages/intl/src/strings.ts b/packages/intl/src/strings.tsindex 4a22c6631..3aecb23d1 100644--- a/packages/intl/src/strings.ts+++ b/packages/intl/src/strings.ts@@ -1837,7 +1837,7 @@ For example:incomingNote: () => t`Incoming note`,description: () => t`Description`,date: () => t`Date`,- month: () => t`month`,+ month: () => t`Month`,day: () => t`Day`,time: () => t`Time`,encryptionKey: () => t`Encryption key`,