Clooos/Bubble-Card

Please add popup height support

dos1973 opened this issue · 8 comments

Hi, love bubble cards.

im running my dashboard on an apple ipad in vertical Mode.

if i run a pop up with only less information inside - the displayed popup is using the full height of the ipad.
On my mobile this looks good, but on tablet, i personal dont like it, especially when the iPad is in vertical, the popup becomes very height.

would love to have the possibility to adjust the height of the displayed popup.

Hopefully you understand what i mean.

thanks in advance.

btw. kudos for this great documentation of all this features!!!

Hi, this is already possible, you can add this in YAML (or in the editor).

To change the size only on mobile/tablet:

margin_top_mobile: calc(100vh - 400px)

Just change 400px to the size you need. If you want to adjust the size for desktop/larger screen you can do the same with margin_top_desktop.

I hope this help.

big Thanks for the hint
will definitiv helps. Will try it out tonight!

edit:
Just have try it on my mobile, this works, but the popop is sticked to the bottom.

on ipad in vertical mode, this will be shown total down on the screen. Ist there s way to cut the height only. Stick in the original position but with lower height.

i tried „margin_bottom_mobile“
But nothing happens.

I'm not sure to understand, could you maybe draw something to explain exactly what you want?

Will share a screenshot later today

image

Hopefully this explains what i would like to have.

On mobile its perfect, but on large screens, i would like to have it starts higher from the top.

Ok I understand now, you are in luck because this is a feature that I'm currently working on. I just don't know when I will be able to release this new version.

Great to hear this, to be the lucky guy 👍
Whenever you have time for implementation , im happy to test

Thanks for your immediate feedback!!

Is this the one tracking the feature implementation, or?