mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-06 22:15:23 +02:00
fix scroll padding
This commit is contained in:
parent
8b100ee812
commit
fd96043764
1 changed files with 4 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
html {
|
||||
scroll-padding-top: var(--layout-height-header);
|
||||
}
|
||||
|
||||
.docs-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
@ -6,7 +10,6 @@
|
|||
border-bottom: 1px solid var(--color-line-gray);
|
||||
font-size: 18px;
|
||||
flex-wrap: wrap;
|
||||
position: relative;
|
||||
height: var(--layout-height-header);
|
||||
box-sizing: border-box;
|
||||
position: sticky;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue