madmicio / ampli-panel-card

panel card for av-receiver
39 stars 5 forks source link

Autosize/Scale not displaying correctly #13

Open hubmunkee opened 11 months ago

hubmunkee commented 11 months ago

Beautiful card, thanks for the great work! But card only displays properly when I have "auto_size: none"

type: custom:ampli-panel-card av_receiver_family: denonavr entity: media_player.denon_avr_x2400h_zone1 zone2: media_player.denon_avr_x2400h_zone2 auto_size: none name_zona2: Zone 2 name: Media Room info: AVR-X2400H brand: DENON

When I set "auto_size: autosize" or "auto_size: scale | scale: 1000" the card display is incorrect, with no background images, only left 20% is visible, etc. Even with auto_size: none, only the left 30% is visible without scrolling (I'm assuming this is as intended). Hopefully these screenshots help. Thanks for the help!

In case it helps, these screenshots are from MacBook Air M2, 2022 running macOS Sonoma 14.0 and Safari 17.0.

Screenshot 2024-01-04 at 1 05 15 PM Screenshot 2024-01-04 at 1 05 24 PM Screenshot 2024-01-04 at 1 05 33 PM Screenshot 2024-01-04 at 1 05 47 PM