Skip to content

Build your personal knowledge base with Trilium Notes

style(mobile/context_menu): make color picker easier to press

Elian Doran8ced689432ac
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css
index 5e62b80116..b0027bd9d0 100644
--- a/apps/client/src/stylesheets/theme-next/base.css
+++ b/apps/client/src/stylesheets/theme-next/base.css
@@ -389,6 +389,20 @@ body.mobile .dropdown-menu {
}
}
}
+
+ .dropdown-custom-item:has(.note-color-picker) {
+ overflow-x: auto;
+ }
+
+ .note-color-picker {
+ padding: 0;
+ width: fit-content;
+
+ .color-cell {
+ --color-picker-cell-size: 26px;
+ flex-shrink: 0;
+ }
+ }
}
/* #endregion */