kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.47k stars 206 forks source link

Source selector doesn't render correctly in a popup #740

Open jherby2k opened 1 year ago

jherby2k commented 1 year ago

I'm using browser-mod to open a mini-media-player as a popup:

              tap_action:
                action: fire-dom-event
                browser_mod:
                  service: browser_mod.popup
                  data:
                    content:
                      type: custom:mini-media-player
                      entity: media_player.rec_room_tv
                      artwork: material
                      tap_action:
                        action: none
                    timeout: 30000

image

Works great, except for the "source" dropdown renders incorrectly - seems to want to resize the control with a scrollbar. Everything else seems to work fine.

image

Any chance for an easy fix?