Skip to content

Build your personal knowledge base with Trilium Notes

fix(note_badges): saved indicator not disappearing if reduced motion was activated

Elian Doranfe70b8aee620
diff --git a/apps/client/src/widgets/layout/NoteBadges.css b/apps/client/src/widgets/layout/NoteBadges.css
index 013963adb4..1283ee99ee 100644
--- a/apps/client/src/widgets/layout/NoteBadges.css
+++ b/apps/client/src/widgets/layout/NoteBadges.css
@@ -36,6 +36,10 @@
animation: fadeOut 250ms ease-in 5s forwards;
pointer-events: none;
}
+
+ body#trilium-app.motion-disabled &.saved {
+ animation: fadeOut 0s 5s forwards !important;
+ }
}
&.active-content-badge { --color: var(--badge-active-content-background-color); }
&.active-content-badge.disabled {