Skip to content

Build your personal knowledge base with Trilium Notes

fix(mobile): tighten the gap above the note panel's first section

Elian Doran4144ab167477
diff --git a/apps/client/src/widgets/mobile_widgets/MobileNotePanel.css b/apps/client/src/widgets/mobile_widgets/MobileNotePanel.css
index f9b8f831f9..5bc5557775 100644
--- a/apps/client/src/widgets/mobile_widgets/MobileNotePanel.css
+++ b/apps/client/src/widgets/mobile_widgets/MobileNotePanel.css
@@ -37,14 +37,12 @@ body.mobile .modal.mobile-note-panel {
padding-bottom: 0;
}
- > .card:only-child:has(> .card-header > .card-header-buttons:empty) {
- > .card-header {
- display: none;
- }
+ > .card:only-child > .card-header:has(> .card-header-buttons:empty) {
+ display: none;
+ }
- > .body-wrapper {
- margin-top: var(--note-panel-group-spacing, 16px);
- }
+ > .card:not(#sidebar-chat):first-child > .card-header {
+ padding-top: 0;
}
.card-header {