fix: use margin instead of text indent for table of contents

This commit is contained in:
Hossein Mehrabi 2023-08-31 20:21:44 +03:30
parent 6327578590
commit d3a7e4d14b
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1

View File

@ -124,6 +124,8 @@ const TocItem = styled(Link)<{ active: boolean }>`
}
&.level-3 {
text-indent: 16px;
& > * {
margin-left: 16px;
}
}
`