mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
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:
parent
0091a45905
commit
9f5f848cde
1 changed files with 3 additions and 2 deletions
5
website/assets/styles/layout.less
vendored
5
website/assets/styles/layout.less
vendored
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue