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

DDFBRA-225 - Use svh height to ensure consistent modal layout #809

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

kasperbirch1
Copy link
Contributor

@kasperbirch1 kasperbirch1 commented Dec 18, 2024

Link to issue

https://reload.atlassian.net/browse/DDFBRA-225

Description

Ensures a more consistent layout on mobile devices by accounting for dynamic changes in viewport height caused by browser UI elements, such as the address bar in Chrome.

Test

https://varnish.pr-1877.dpl-cms.dplplat01.dpl.reload.dk/

ScreenRecording_12-18-2024.13-45-24_1.mov

@kasperbirch1 kasperbirch1 force-pushed the DDFBRA-225-mobilvisning-abningstidsmodal-kan-ikke-lukkes branch from 28e40f3 to 1b565ff Compare December 18, 2024 12:33
Ensures a more consistent layout on mobile devices by accounting for dynamic changes in viewport height caused by browser UI elements, such as the address bar in Chrome.
Ensures the `dvh` value correctly adjusts the modal when scrolling on mobile browsers with disappearing address bars
@kasperbirch1 kasperbirch1 force-pushed the DDFBRA-225-mobilvisning-abningstidsmodal-kan-ikke-lukkes branch from 1b565ff to 92a7cd6 Compare December 18, 2024 12:36
Copy link
Contributor

@Adamik10 Adamik10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We clap and we cheer

@kasperbirch1 kasperbirch1 added the jira-testable Ready for DDF test, and moved in Jira. label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira-testable Ready for DDF test, and moved in Jira.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants