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

Fit cesium map toolbar size to content #2255

Closed

Conversation

ianguerin
Copy link
Collaborator

At 100% height the toolbar blocked the map below even though it had no interactable elements below.

GitHub issue: #2207

fix-bug-toolbar-blocks-content

At 100% height the toolbar blocked the map below even though it had no
interactable elements below.

GitHub issue: NCEAS#2207
Set a fixed height for body element to force map view to appear on page.
Add some padding to allow for scrollbar in layers toolbar.
Fix issue with cutting off last layer in toolbar on narrow laptop
screen due to a hardcoded value for the header height.

GitHub issue: NCEAS#2242

temp commit with changes for PR comments
@ianguerin ianguerin closed this Jan 29, 2024
@ianguerin ianguerin deleted the bugfix-2207-toolbar-blocks-clicks branch January 29, 2024 23:46
@robyngit
Copy link
Member

Hey @ianguerin, thanks for picking up another issue! Wondering why you closed this PR? I think this is the preferable solution over #2256

@ianguerin
Copy link
Collaborator Author

I didn't intend to open this PR, that was my mistake while wondering "what does this button do" on GitHub.
The issue with this approach is that the bug persists when you open the layers list up again, since the size of the container is again 100% of the height of the page.
blocks-when-open

@robyngit
Copy link
Member

ah, understood, thanks!

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

Successfully merging this pull request may close these issues.

2 participants