Skip to content

Commit

Permalink
fix: logo icon briefly disappears and reappears during theme change (#…
Browse files Browse the repository at this point in the history
…543)

* fix: add width specification to .navbar__logo to avoid layout change during theme change

* fix: logo icon briefly disappears and reappears during theme change

add space line at the end of file

Co-authored-by: Kevin Cui <[email protected]>

* fix: logo icon briefly disappears and reappears during theme change

Modify comments, links to issue 539

Co-authored-by: Kevin Cui <[email protected]>

---------

Co-authored-by: Kevin Cui <[email protected]>
  • Loading branch information
JasonFengGit and BlackHole1 authored Mar 28, 2024
1 parent 7b4972a commit b8838dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,8 @@
.table-of-contents__link--active {
font-weight: var(--ifm-font-weight-bold);
}

// fix https://github.com/electron/website/issues/539
.navbar__logo {
width: 2rem;
}

0 comments on commit b8838dd

Please sign in to comment.