From 9b1da8c311726958d096f9bd7382e63395b0d44e Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Fri, 22 Aug 2025 21:37:56 +0300 Subject: [PATCH] Settings/Appearance: improve CSS selector specificity --- apps/client/src/stylesheets/style.css | 6 +++--- apps/server/src/assets/views/desktop.ejs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index c00ff8531..9c15cfc60 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -28,9 +28,9 @@ --ck-mention-list-max-height: 500px; } -body.motion-disabled *, -body.motion-disabled *::before, -body.motion-disabled *::after { +body#trilium-app.motion-disabled *, +body#trilium-app.motion-disabled *::before, +body#trilium-app.motion-disabled *::after { /* Disable transitions and animations */ transition: none !important; animation: none !important; diff --git a/apps/server/src/assets/views/desktop.ejs b/apps/server/src/assets/views/desktop.ejs index 1eb85cba9..6327a63b3 100644 --- a/apps/server/src/assets/views/desktop.ejs +++ b/apps/server/src/assets/views/desktop.ejs @@ -9,7 +9,7 @@ Trilium Notes - +