mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-01 20:29:00 +00:00
Fix hovered Zigbee topology endpoint layer
Issue: #464 User-Visible: yes
This commit is contained in:
@@ -6063,6 +6063,17 @@ const MUTANT_DEFINITIONS = [
|
||||
replace: '.dev[data-hp-zigbee-topology-endpoint] { z-index: 1; }',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'zigbee-topology-hovered-endpoint-elevation-removed',
|
||||
guard: 'node demo/smoke_zigbee_topology_hover.mjs',
|
||||
because: 'a real CSS :hover has higher specificity than the base endpoint rule; the source '
|
||||
+ 'must still remain above its active topology line (#464 AC1, code-review r1)',
|
||||
patches: [{
|
||||
file: 'src/styles/devices.styles.ts',
|
||||
find: ':host([data-pointer-hover]) .dev[data-hp-zigbee-topology-endpoint]:hover { z-index: 8; }',
|
||||
replace: ':host([data-pointer-hover]) .dev[data-hp-zigbee-topology-endpoint]:hover { z-index: 1; }',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'zigbee-topology-unrelated-markers-raised',
|
||||
guard: 'node demo/smoke_zigbee_topology_hover.mjs',
|
||||
|
||||
Reference in New Issue
Block a user