Jelajahi Sumber

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 minggu lalu
induk
melakukan
ae07aef641
1 mengubah file dengan 0 tambahan dan 4 penghapusan
  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);