UX: Keep core's top margin for first item in OP (#30)
This commit is contained in:
parent
cd8690ffa2
commit
2fd7d5107f
|
@ -178,6 +178,12 @@ a.d-toc-close {
|
|||
}
|
||||
}
|
||||
|
||||
// core sets first child's top margin to 0
|
||||
// ensure it's also 0 when TOC markup is first
|
||||
.cooked > div[data-theme-toc]:first-child + * {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
// RTL Support
|
||||
.rtl {
|
||||
.d-toc-main {
|
||||
|
|
Loading…
Reference in New Issue