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: logo icon briefly disappears and reappears during theme change #543

Merged
merged 3 commits into from
Mar 28, 2024

Conversation

JasonFengGit
Copy link
Contributor

@JasonFengGit JasonFengGit commented Mar 27, 2024

Fix #539.

Current Behavior: the logo still blinks sometimes when changing theme, but the layout would not be messed up. This is the same behavior as https://docusaurus.io/docs

Built and tested on my local environment (windows, chrome) with different window sizes.

Related: facebook/docusaurus#8188

@JasonFengGit JasonFengGit marked this pull request as ready for review March 27, 2024 01:45
@JasonFengGit JasonFengGit requested a review from a team as a code owner March 27, 2024 01:45
@BlackHole1 BlackHole1 changed the title fix: add width css to .navbar__logo to avoid layout change during theme change fix: logo icon briefly disappears and reappears during theme change Mar 27, 2024
JasonFengGit and others added 2 commits March 26, 2024 21:27
add space line at the end of file

Co-authored-by: Kevin Cui <[email protected]>
Modify comments, links to issue 539

Co-authored-by: Kevin Cui <[email protected]>
@JasonFengGit
Copy link
Contributor Author

Hi @BlackHole1, I have applied the requested changes. Thank you so much for the suggestions!

Copy link
Member

@BlackHole1 BlackHole1 left a comment

Choose a reason for hiding this comment

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

LGTM

@dsanders11 dsanders11 merged commit b8838dd into electron:main Mar 28, 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.

[BUG]: Electron logo icon briefly disappears and reappears during theme change
3 participants