Replace raw Cmd+Enter hint in tag popover with shui shortcut component

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
scheinriese
2026-03-11 14:56:15 +01:00
committed by Tienson Qin
parent befe49275c
commit a1345f2311

View File

@@ -244,8 +244,8 @@
(when (and db-tag?
(not (string/blank? q))
(not= "page" (string/lower-case q)))
[:p.px-1.opacity-50.text-sm
[:code (if util/mac? "Cmd+Enter" "Ctrl+Enter")]
[:p.px-1.opacity-50.text-sm.flex.flex-row.items-center.gap-2
(shui/shortcut "mod+enter")
[:span " to display this tag inline instead of at the end of this node."]])])))
(rum/defcs page-search < rum/reactive