Skip to content

Build your personal knowledge base with Trilium Notes

client/settings/disable shadows: add the CSS implementation

Adorian Dorand35dbca18b6f
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 9c15cfc603..cb6ddf099f 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -36,6 +36,13 @@ body#trilium-app.motion-disabled *::after {
animation: none !important;
}
+body#trilium-app.shadows-disabled *,
+body#trilium-app.shadows-disabled *::before,
+body#trilium-app.shadows-disabled *::after {
+ /* Disable shadows */
+ box-shadow: none !important;
+}
+
.table {
--bs-table-bg: transparent !important;
}