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

fix: Adjusting styling on the popup in FlightMarker.tsx for better spacing and scaling #13

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

Conversation

CMcDonald9
Copy link

@CMcDonald9 CMcDonald9 commented Jul 11, 2023

resolves #12
Old UI shown here

Adjusted UI looks like this:
image

I'm certainly no CSS wizard so let me know if there's a better way to do this but I think this adjustment is much better looking.

@Creative-Difficulty
Copy link

Creative-Difficulty commented Jul 31, 2024

@CMcDonald9 In addition to reducing the font size, its a good idea to enable line wrapping and preventing overflow for the text: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_text/Wrapping_breaking_text

@CMcDonald9
Copy link
Author

@Creative-Difficulty Added "overflow-wrap: "break-word"

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.

Flight number overflowing container
2 participants