Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(options): stack shortcut editor under the label on mobile
Elian Dorand2022dc2618b
diff --git a/apps/client/src/widgets/type_widgets/options/shortcuts.css b/apps/client/src/widgets/type_widgets/options/shortcuts.cssindex 01548ccee9..406bd65798 100644--- a/apps/client/src/widgets/type_widgets/options/shortcuts.css+++ b/apps/client/src/widgets/type_widgets/options/shortcuts.css@@ -133,4 +133,22 @@color: var(--link-color);border-color: var(--link-color);}++ /* On mobile, stack each row so the shortcut editor sits underneath the action label.+ OptionsRow keeps these rows inline because they contain .icon-action buttons. */+ body.mobile & {+ .option-row {+ flex-direction: column;+ align-items: stretch;+ gap: 8px;+ }++ .option-row-input {+ width: 100%;+ }++ .shortcut-editor {+ justify-content: flex-start;+ }+ }}