Skip to content

Build your personal knowledge base with Trilium Notes

ui/grid view: do not animate the card when pressing the item menu button

Adorian Doranf84a4c48569f
diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
index 0e8eb57a4f..c71ad07423 100644
--- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css
+++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
@@ -264,7 +264,7 @@
transition: background-color 200ms ease-out;
}
- &:active {
+ &:not(:has(.note-book-item-menu:active)):active {
transform: scale(.98);
}