Skip to content

Build your personal knowledge base with Trilium Notes

chore(mobile/header): make icons easier to press

Elian Doran911f78867f36
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index 7ff132e1af..5a45ddf436 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -1322,7 +1322,7 @@ body.mobile .note-title {
margin-inline-start: 0;
}
-.title-row {
+body.desktop .title-row {
/* Aligns the "Create new split" button with the note menu button (the three dots button) */
padding-inline-end: 3px;
}
diff --git a/apps/client/src/widgets/note_title.css b/apps/client/src/widgets/note_title.css
index e525910521..3e1a0d9686 100644
--- a/apps/client/src/widgets/note_title.css
+++ b/apps/client/src/widgets/note_title.css
@@ -110,7 +110,27 @@ body.experimental-feature-new-layout {
}
}
- &.mobile .title-row .note-icon-widget .note-icon {
- --icon-button-size: 24px;
+ &.mobile .title-row {
+ .icon-action:not(.note-icon) {
+ height: 45px;
+ width: 45px;
+ flex-shrink: 0;
+ }
+
+ .note-actions {
+ width: auto;
+ }
+
+ .note-badges {
+ margin-inline: 0.5em;
+ }
+
+ .note-icon-widget {
+ margin-inline: 0.5em;
+
+ .note-icon {
+ --icon-button-size: 24px;
+ }
+ }
}
}