From 114fdd6f913fb88c3663c17252edf5afac503bd4 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 12 Sep 2025 16:26:45 +0300 Subject: [PATCH] style(collections/board): smoother shadows, no shift --- apps/client/src/widgets/collections/board/index.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/client/src/widgets/collections/board/index.css b/apps/client/src/widgets/collections/board/index.css index 154f4adb3..67fe0985c 100644 --- a/apps/client/src/widgets/collections/board/index.css +++ b/apps/client/src/widgets/collections/board/index.css @@ -112,7 +112,7 @@ .board-view-container .board-note { - box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25); + box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1); margin: 0.65em 0; padding: var(--card-padding); border-radius: 5px; @@ -141,6 +141,10 @@ background-color: var(--main-background-color); } +.board-view-container .board-note:hover { + box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1); +} + .board-view-container .board-note:hover > .edit-icon { position: absolute; top: 8px; @@ -168,11 +172,6 @@ to { opacity: 0; transform: translateY(-10px); } } -.board-view-container .board-note:hover { - transform: translateY(-2px); - box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.35); -} - .board-view-container .board-note.dragging { opacity: 0.5; transform: rotate(5deg);