From d35dbca18b6ff6c1b14b2da7a0a83b30740a51ba Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sat, 23 Aug 2025 00:58:50 +0300 Subject: [PATCH] client/settings/disable shadows: add the CSS implementation --- apps/client/src/stylesheets/style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 9c15cfc60..cb6ddf099 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; }