Skip to content

Build your personal knowledge base with Trilium Notes

fix(mobile): hide the note's edge shadow under the iPhone tree

Elian Doran0cdee5bfb077
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 1e4b7f6c9e..bdc4f9b1d5 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1938,9 +1938,14 @@ pre.code-embed-editor.read-only .cm-activeLine {
width: 24px;
background: linear-gradient(to left, rgba(0, 0, 0, 0.12), transparent);
pointer-events: none;
+ transition: opacity 250ms ease-in-out;
}
}
+ &:has(#mobile-sidebar-wrapper.show) #detail-container::before {
+ opacity: 0;
+ }
+
&[dir="rtl"] #detail-container::before {
background: linear-gradient(to right, rgba(0, 0, 0, 0.12), transparent);
}