Skip to content

Build your personal knowledge base with Trilium Notes

style(mobile): give suggestion rows room to be tapped

Elian Dorandfa293b15024
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css
index 30963113f7..1799bee897 100644
--- a/apps/client/src/stylesheets/theme-next/base.css
+++ b/apps/client/src/stylesheets/theme-next/base.css
@@ -458,6 +458,15 @@ body.mobile .dropdown-menu.note-autocomplete-menu {
border: 1px solid var(--dropdown-border-color);
box-shadow: 0px 10px 20px rgba(0, 0, 0, var(--dropdown-shadow-opacity));
backdrop-filter: var(--dropdown-backdrop-filter);
+ --padding: 6px;
+ font-size: 1rem !important;
+
+ /* A one-line row is 44px tall, the minimum touch target in Apple's guidelines. */
+ .dropdown-item {
+ --menu-item-vertical-padding: 10px;
+ --menu-item-start-padding: 12px;
+ --menu-item-end-padding: 12px;
+ }
}
/* Pinned to the bottom like a sheet only in the phone layout; see style.css. */