Skip to content

Build your personal knowledge base with Trilium Notes

feat(mobile): dim the status bar with an open dropdown

Elian Dorand4e56f3701db
diff --git a/apps/client/src/layouts/mobile_layout.css b/apps/client/src/layouts/mobile_layout.css
index 7e0c63d244..d844f8019f 100644
--- a/apps/client/src/layouts/mobile_layout.css
+++ b/apps/client/src/layouts/mobile_layout.css
@@ -2,6 +2,17 @@
color: var(--main-background-color) !important;
}
+@media (max-width: 991px) {
+ body.mobile:not(.ios):has(
+ #context-menu-cover.show,
+ > .tn-dropdown-portal > .tn-dropdown-backdrop,
+ .tn-popover-backdrop
+ ) #background-color-tracker {
+ /* `--mobile-backdrop-color` (style.css) laid over the page background. */
+ color: color-mix(in srgb, var(--main-background-color), black 50%) !important;
+ }
+}
+
span.keyboard-shortcut,
kbd {
display: none;