custom-cards / decluttering-card

🧹 Declutter your lovelace configuration with the help of this card
MIT License
379 stars 29 forks source link

iframes in panel mode lose styling due to card-wrapping #24

Open zaneclaes opened 4 years ago

zaneclaes commented 4 years ago

Checklist:

Release with the issue: 0.5.0

Last working release (if known): N/A

Browser and Operating System: Chrome, OSX + Windows 10

Description of problem: When decluttering-card is used to create a card of type: iframe which is subsequently used in a panel, the iframe only consumes 50% of the screen height. Simply using the iframe card directly causes the iframe to consume exactly the full viewport area. This is due to the way that decluttering-card wraps the iframe with its own card, but does not pass through the necessary CSS styles.

Javascript errors shown in the web inspector (if applicable): N/A

Additional information: N/A

RomRider commented 4 years ago

You should be able to change that with the help of card-mod I think. Maybe share a small config and a picture here so that I can have a look.

Thanks