Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add popup height support #603

Open
dos1973 opened this issue Jun 26, 2024 · 7 comments
Open

Please add popup height support #603

dos1973 opened this issue Jun 26, 2024 · 7 comments

Comments

@dos1973
Copy link

dos1973 commented Jun 26, 2024

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!!!

@Clooos
Copy link
Owner

Clooos commented Jun 26, 2024

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.

@dos1973
Copy link
Author

dos1973 commented Jun 26, 2024

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.

@Clooos
Copy link
Owner

Clooos commented Jun 26, 2024

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

@dos1973
Copy link
Author

dos1973 commented Jun 26, 2024

Will share a screenshot later today

@dos1973
Copy link
Author

dos1973 commented Jun 26, 2024

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.

@Clooos
Copy link
Owner

Clooos commented Jun 26, 2024

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.

@dos1973
Copy link
Author

dos1973 commented Jun 26, 2024

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

Thanks for your immediate feedback!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants