Skip to content

Build your personal knowledge base with Trilium Notes

client/settings/disable motion: add the CSS implementation

Adorian Doran5e88043c7bed
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index c5b24f88e8..2c21ffb7a2 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -28,6 +28,14 @@
--ck-mention-list-max-height: 500px;
}
+body.motion-disabled *,
+body.motion-disabled *::before,
+body.motion-disabled *::after {
+ /* Disable transitions and animations */
+ transition: none !important;
+ animation: none !important;
+}
+
.table {
--bs-table-bg: transparent !important;
}