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: Fixed the FBW Logo + Vercel Logo appearing in the map page #529

Merged
merged 12 commits into from
Nov 8, 2024

Conversation

LunakisDev
Copy link
Contributor

Summary of changes

Fixed the FBW Logo + Vercel Logo appearing in the map page (https://flybywiresim.com/map/) when the user zoon - unzoom.

Screenshots

2r15JNzTrq

Copy link

vercel bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 10:54am

@Benjozork
Copy link
Member

This is not how we should fix this, it should just be fixed with CSS

@LunakisDev
Copy link
Contributor Author

Ah alright, Thanks for letting me know

@ItzARz
Copy link
Contributor

ItzARz commented Nov 6, 2024

It seems to be a lil typo in src/pages/map/index.tsx -> h-96 instead of h-[96vh]:

4f0ac64

Edit: I’m not a Tailwind expert, but from the documentation, it looks like h-96 is a fixed height class set to 24rem (384px). I’m not certain if using viewport height (vh) is the ideal solution like i did in my branch.

@Gaudv
Copy link
Contributor

Gaudv commented Nov 6, 2024

This is not how we should fix this, it should just be fixed with CSS

@Benjozork changes have been made, ans it's now handled with css,

Noted that I also would recommand waiting for @ItzARz solution to be pulled into this PR, his proposition is better fitted.

src/pages/map/index.tsx Outdated Show resolved Hide resolved
@NathanInnes NathanInnes merged commit 93d0ba2 into flybywiresim:staging Nov 8, 2024
3 checks passed
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.

5 participants