Browse Source

Fix lingering selection border on Activity page

The :hover rule painted the same yellow accent border as the selected
state, so deselecting a card while the cursor was still over it left the
border visible until another card was selected. Remove the hover
mechanism (also unnecessary on touch devices) so the border is driven
solely by the checked state.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sebastian 2 tuần trước cách đây
mục cha
commit
ae07aef641
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      index.php

+ 0 - 4
index.php

@@ -163,10 +163,6 @@ foreach ($rows as $row) {
     transition: border-color .15s, background .15s, transform .1s;
     user-select: none;
   }
-  .activity-card label:hover {
-    border-color: var(--accent);
-    background: #1e2333;
-  }
   .check-icon {
     width: 18px; height: 18px;
     border: 1.5px solid var(--border);