fix: use margin instead of text indent for table of contents
This commit is contained in:
parent
c54dae2926
commit
0e6dd661b7
|
@ -124,6 +124,8 @@ const TocItem = styled(Link)<{ active: boolean }>`
|
|||
}
|
||||
|
||||
&.level-3 {
|
||||
text-indent: 16px;
|
||||
& > * {
|
||||
margin-left: 16px;
|
||||
}
|
||||
}
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue