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
fix(mobile): dock the note panel's chat composer to the bottom
Elian Doran1cdd84b27bf0
diff --git a/apps/client/src/stylesheets/theme-next/ios.css b/apps/client/src/stylesheets/theme-next/ios.cssindex 67c1db6d47..3894886d10 100644--- a/apps/client/src/stylesheets/theme-next/ios.css+++ b/apps/client/src/stylesheets/theme-next/ios.css@@ -247,11 +247,6 @@ body.mobile.ios {padding-bottom: var(--menu-padding-size) !important;}- .modal.mobile-note-panel #right-pane .right-pane-flat-tab-body #sidebar-chat :is(.llm-chat-input-form, .llm-chat-no-provider) {- margin: 0 var(--mobile-sheet-margin) var(--mobile-sheet-margin);- border-radius: var(--mobile-sheet-corner-radius);- }-#mobile-bottom-bar {position: relative;z-index: 999;diff --git a/apps/client/src/widgets/mobile_widgets/MobileNotePanel.css b/apps/client/src/widgets/mobile_widgets/MobileNotePanel.cssindex 7f396189e7..a17af6d7de 100644--- a/apps/client/src/widgets/mobile_widgets/MobileNotePanel.css+++ b/apps/client/src/widgets/mobile_widgets/MobileNotePanel.css@@ -92,7 +92,11 @@ body.mobile .modal.mobile-note-panel {}}- #sidebar-chat:not(.ios *) :is(.llm-chat-input-form, .llm-chat-no-provider) {+ #sidebar-chat :is(.llm-chat-input-form, .llm-chat-no-provider) {+ margin: 0;+ border-width: 1px 0 0;+ border-radius: var(--note-panel-group-radius, 10px) var(--note-panel-group-radius, 10px) 0 0;+ outline-offset: -2px;padding-bottom: calc(0.5rem + var(--safe-area-inset-bottom, env(safe-area-inset-bottom)));}