Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.44k stars 39 forks source link

Half blank card on desktop browser #549

Open TimBeekman opened 3 weeks ago

TimBeekman commented 3 weeks ago

Describe the bug
image You can see the alarm card is only displayed partly. I need to scroll to see the rest of the card. This only happens on desktop

This goes for any Bubble card i have, no matter what cards are in the stack.

Expected behavior
See this picture of my phone: image

Screenshots
If applicable, add screenshots to help explain your problem.

Informations (please complete the following information):

TimBeekman commented 3 weeks ago

Update, it only happens when I use % in stead of px

Clooos commented 2 weeks ago

Indeed! Something has changed in the v2, you can use for example 50vh instead of 50% now, I've just changed that example in the editor and I will do the same in the editor.

Also if you want a fixed height for your pop-up (e.g. 400px) you can do this:

    margin_top_mobile: calc(100vh - 400px)
    margin_top_desktop: calc(100vh - 400px)
Clooos commented 2 weeks ago

Any feedback on this?