fix: logo icon briefly disappears and reappears during theme change (#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 <github@bugs.cc>

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

Modify comments, links to issue 539

Co-authored-by: Kevin Cui <github@bugs.cc>

---------

Co-authored-by: Kevin Cui <github@bugs.cc>
This commit is contained in:
Zhenbang Feng 2024-03-28 12:24:55 -07:00 коммит произвёл GitHub
Родитель 7b4972af0b
Коммит b8838dd344
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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;
}