Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: Wrap translated reminder time labels https://github.com/siyuan-note/siyuan/issues/19507

Daniel30126652e207
diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.ts
index 6851fc87a2..6596a721d5 100644
--- a/app/src/menus/commonMenuItem.ts
+++ b/app/src/menus/commonMenuItem.ts
@@ -71,7 +71,7 @@ export const openWechatNotify = (nodeElement: Element) => {
title: window.siyuan.languages.wechatReminder,
content: `<div class="b3-dialog__content custom-attr">
<div class="fn__flex">
- <span class="ft__on-surface fn__flex-center" style="text-align: right;white-space: nowrap;width: 100px">${window.siyuan.languages.notifyTime}</span>
+ <span class="ft__on-surface fn__flex-center" style="text-align: right;flex: 0 0 100px;overflow-wrap: anywhere">${window.siyuan.languages.notifyTime}</span>
<div class="fn__space"></div>
<input class="b3-text-field fn__flex-1" type="datetime-local" max="9999-12-31 23:59" value="${reminderFormat}">
</div>
@@ -141,7 +141,7 @@ export const openFileWechatNotify = (protyle: IProtyle) => {
title: window.siyuan.languages.wechatReminder,
content: `<div class="b3-dialog__content custom-attr">
<div class="fn__flex">
- <span class="ft__on-surface fn__flex-center" style="text-align: right;white-space: nowrap;width: 100px">${window.siyuan.languages.notifyTime}</span>
+ <span class="ft__on-surface fn__flex-center" style="text-align: right;flex: 0 0 100px;overflow-wrap: anywhere">${window.siyuan.languages.notifyTime}</span>
<div class="fn__space"></div>
<input class="b3-text-field fn__flex-1" type="datetime-local" max="9999-12-31 23:59" value="${reminderFormat}">
</div>