diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css index 8a3717e7bf..0f963f0d59 100644 --- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css +++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css @@ -271,7 +271,7 @@ transition: background-color 200ms ease-out; } - &:not(:has(.note-book-item-menu:active)):active { + &:not(:has(:is(.note-book-item-menu:active, .btn-primary:active))):active { transform: scale(.98); } @@ -281,7 +281,7 @@ .note-book-header { margin-bottom: 0; - border-bottom: 1px solid var(--main-border-color); + border-bottom: 1px solid var(--card-border-color, var(--main-border-color)); padding-bottom: .5rem; word-break: break-all; flex-shrink: 0; @@ -336,6 +336,10 @@ &:hover { background: var(--more-accented-background-color); } + + &:active { + transform: none; + } } } }