Fix command palette selection mismatch and card highlight z-index

Sort filtered items by group order so display indices match the array,
preventing wrong entity selection. Raise card-highlight z-index above
sticky section headers so the outline isn't clipped.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 02:45:41 +03:00
parent 8bf40573f1
commit 7b07f38ce5
3 changed files with 23 additions and 12 deletions

View File

@@ -291,6 +291,8 @@ h2 {
padding: 8px 16px;
cursor: pointer;
transition: background 0.1s;
position: relative;
z-index: 1;
}
.cp-result:hover {