Minor CSS fixes
Deploy HEOS panel / deploy (push) Successful in 27s

This commit is contained in:
franzz committed 2026-09-23 14:28:55 +02:00
1 parent 5d57ba5d8f
commit 6c76121863
3 files changed
+40 -61

No files matched your search

+2 -2
View File
@@ -114,7 +114,7 @@ els('.card[data-room]').forEach((node) => {
avr: node.classList.contains('avr'),
level: el('[data-role="level"]', node),
meter: el('[data-role="meter"]', node),
actions: el('[data-role="actions"]', node),
navigation: el('[data-role="navigation"]', node),
toggle: el('[data-role="group"]', node),
toggleLabel: el('[data-role="group-label"]', node),
prev: el('[data-role="prev"]', node),
@@ -188,7 +188,7 @@ function paintTransport(room) {
room.play.disabled = !room.available || !state;
room.play.setAttribute(
'aria-label', `${room.node.querySelector('h2').textContent}: ${playing ? 'pause' : 'play'}`);
room.actions.hidden = room.avr
room.navigation.hidden = room.avr
? !state
: !(room.onSpotify && room.spotifyAccount && !room.grouped);
if (room.prev) room.prev.disabled = !room.available;