mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
style(docs): add scroll-margin-top to anchored headings [ci skip]
This commit is contained in:
parent
0cd46712ca
commit
1fc719b738
1 changed files with 6 additions and 0 deletions
|
@ -250,6 +250,12 @@ html[theme="g90"] .code-override {
|
|||
margin-bottom: var(--cds-layout-01);
|
||||
}
|
||||
|
||||
.bx--col > h2,
|
||||
.bx--col > h3,
|
||||
.bx--col > h4 {
|
||||
scroll-margin-top: 3rem;
|
||||
}
|
||||
|
||||
.bx--col > p {
|
||||
margin-bottom: var(--cds-layout-02);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue