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

Accessibility fix for the map info element #250

Open
Doniee opened this issue Apr 21, 2020 · 0 comments
Open

Accessibility fix for the map info element #250

Doniee opened this issue Apr 21, 2020 · 0 comments
Labels
front-end front-end related issues

Comments

@Doniee
Copy link
Contributor

Doniee commented Apr 21, 2020

From Fotis:

Because the bottom popup has fixed positioning, it obscures most of the content when zooming at 200%.

You can fix this by only applying position: fixed; in a height-based media query. I usually do something like:

css
.popup {
  position: static;
}

@media screen and (min-height: 38rem) {
  .popup {
    position: fixed;
    /* etc. */
  }
}

@Doniee Doniee added the front-end front-end related issues label Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end front-end related issues
Projects
None yet
Development

No branches or pull requests

1 participant