mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-09 15:35:25 +02:00
fix: change menu height as much as button height and padding
This commit is contained in:
parent
0112d675e5
commit
88c36e6716
1 changed files with 13 additions and 12 deletions
|
@ -17,19 +17,30 @@
|
|||
display: inline-block;
|
||||
text-decoration: none;
|
||||
align-self: center;
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
&__logo {
|
||||
padding: 10px 0;
|
||||
font-weight: bold;
|
||||
color: inherit;
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
&__menu-link {
|
||||
padding: 4px 10px;
|
||||
line-height: 24px;
|
||||
border-radius: 8px;
|
||||
transition: background-color .3s;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-link-hover);
|
||||
}
|
||||
}
|
||||
|
||||
&__menu {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
gap: 18px;
|
||||
gap: 10px;
|
||||
padding-left: 0;
|
||||
font-size: 16px;
|
||||
|
||||
|
@ -71,15 +82,5 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
a:not(.docs-button) {
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
transition: background-color .3s;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-link-hover);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue