mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-09 23:45:25 +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 {
|
.docs-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
@ -6,7 +10,6 @@
|
||||||
border-bottom: 1px solid var(--color-line-gray);
|
border-bottom: 1px solid var(--color-line-gray);
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
position: relative;
|
|
||||||
height: var(--layout-height-header);
|
height: var(--layout-height-header);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue