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

Set map element height more correctly #32

Open
mileswwatkins opened this issue Mar 11, 2023 · 0 comments
Open

Set map element height more correctly #32

mileswwatkins opened this issue Mar 11, 2023 · 0 comments

Comments

@mileswwatkins
Copy link
Owner

mileswwatkins commented Mar 11, 2023

Right now, it's a hack, and not even one that's accurate for most browsers. Eg, on Brave on Windows the page is larger than 100vh vertically and so the entire page scrolls.

        style={{
          width: "100%",
          // This is still a hack, but represents the full page height minus
          // the header text and padding and the hairline border between panes
          height: "calc(100vh - 38px - 2.5rem - 1px)",
        }}
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

1 participant