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

[ENH] Make map figure size (a little) more responsive #101

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

alyssadai
Copy link
Collaborator

@alyssadai alyssadai commented Oct 28, 2024

Currently, on screens taller than they are wide, the map colorbar expands to fill available vertical space while the map itself (given its fixed aspect ratio) shrinks significantly, resulting in an awkward-looking figure that also takes up most of the screen.

Changes proposed:

  • Make map disclaimer text wrap automatically
  • Make map colorbar sizing fraction-based
  • Adjust map margins/width & explicitly set maxHeight of map figure to be a fraction of available viewport width (hack-y, but seems to work ok?)

@alyssadai alyssadai marked this pull request as ready for review October 30, 2024 06:31
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.

1 participant