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

✨ prevent site-tools from obscuring content of page #4523

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

ikesau
Copy link
Member

@ikesau ikesau commented Feb 5, 2025

Fixes the issue where the site-tools container was obscuring content even when its contents was hidden.

If we're not okay with 94% browser support, I'll rewrite this with JS but it's slightly annoying as I'll have to use a ref and layout effect to apply the transformation to SiteTools parent (the div container)

site.tools.fix.mov

@owidbot
Copy link
Contributor

owidbot commented Feb 5, 2025

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-site-tools-fix

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2025-02-05 01:16:30 UTC
Execution time: 1.17 seconds

Copy link
Member

@marcelgerber marcelgerber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, this works well!

and 94% browser support is totally aceeptable for this, but thanks for caring about it :)

@ikesau ikesau merged commit 9ceaea9 into footer-rework Feb 5, 2025
21 checks passed
@ikesau ikesau deleted the site-tools-fix branch February 5, 2025 13:59
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.

3 participants