Rename <x-choices>'s data-active hook to data-md-active
Review leftover (plan step 36): the searchable list's highlighted-row hook was still the plain pre-Phase-F name, in both the view's binding and its scroll-into-view lookup and the shared rule in menu.css that paints it. No test named it directly, so none needed a change. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
f53bee9ef3
commit
3f41bffbdc
@@ -298,8 +298,8 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* `data-active` is the row the arrow keys or the pointer are on. */
|
||||
[data-md-field-option][data-active] {
|
||||
/* `data-md-active` is the row the arrow keys or the pointer are on. */
|
||||
[data-md-field-option][data-md-active] {
|
||||
background-color: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent);
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@
|
||||
color: var(--md-sys-color-on-secondary-container);
|
||||
}
|
||||
|
||||
[data-md-field-option][aria-selected="true"][data-active] {
|
||||
[data-md-field-option][aria-selected="true"][data-md-active] {
|
||||
background-color: color-mix(in srgb, var(--md-sys-color-on-secondary-container) 8%, var(--md-sys-color-secondary-container));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user