Website: add fixed width to Github stars button in website navigation (#21783)

Closes: #21469

Changes:
- Updated the styles for the GitHub stars button in the websites desktop
header navigation to prevent layout shifts when navigating between
pages.
This commit is contained in:
Eric 2024-09-03 15:56:32 -05:00 committed by GitHub
parent 0091a45905
commit 9f5f848cde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -444,8 +444,9 @@ html, body {
}
}
[purpose='gh-button'] {
margin-left: 20px;
margin-right: 20px;
padding: 0px 20px;
min-width: 140px;
width: 140px;
}
[purpose='header-dropdown'] {
box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.4);