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

Reduce FOUC (flash of unstyled content) #6

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

blendtwenty
Copy link
Collaborator

This PR implements a quick measure to remove the flash of unstyled content that is seen at the top of the page where is placed. The technique here is to apply basic layout styling (display: block, height: 62px) but have it invisible.

Ideally (and the next PR) will be to remove this statement from this project and have this styling defined within doge-web-components.

@blendtwenty blendtwenty marked this pull request as ready for review February 21, 2024 04:57
@blendtwenty blendtwenty merged commit 68844a5 into main Feb 21, 2024
1 check passed
@blendtwenty blendtwenty deleted the fouc-handling branch February 21, 2024 04:58
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