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

Popup bottom aligned #968

Open
savvasdalkitsis opened this issue Nov 27, 2024 · 2 comments
Open

Popup bottom aligned #968

savvasdalkitsis opened this issue Nov 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@savvasdalkitsis
Copy link

So it looks like the popups are always taking up the full height of the screen on mobile devices, with their content aligned to the top.

I know (because of #603) that I can specify a top margin, and I can even make it relative to the height of the device using calc(100vh - PIXELS) but I was wondering if there is a way to make the margin dynamically always match the height of the pop up content so i don't have to constantly change the hardcoded pixel value whenever I modify my popup by adding/removing items

@savvasdalkitsis savvasdalkitsis added the bug Something isn't working label Nov 27, 2024
@Clooos
Copy link
Owner

Clooos commented Dec 1, 2024

Hi! I've already tried in the past but I haven't found a solution yet. But I will try again at some point 🙂

Sorry for not helping you much! 😅

@Fullmetalmusic
Copy link

I've a similar problem, the vertical alignment (of the container?) is not matching the landscape mode on a Samsung A52s and Companion App

(dunno if it's useful to know the device)

It's like there's a margin-top that cover the popup content when it scrolls.

I tried to add css to the pop-up container but nothing happened, both with and without card-mod (because of the changelog)

it would be useful to take control of that element too

Regards

@MrBearPresident MrBearPresident added enhancement New feature or request and removed bug Something isn't working labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants