1
0
Fork 0
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:
Y-k-Y 2022-06-01 23:42:08 +09:00
parent 0112d675e5
commit 88c36e6716

View file

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