fix: toc padding in mobile

This commit is contained in:
DIYgod 2022-10-12 19:14:11 +01:00
parent a87a687ade
commit 2bdabc8fe0
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ export const PostToc: React.FC<{
className="xlog-post-toc absolute left-full pl-10 h-full top-0"
style={{
maxWidth: maxWidth > 40 ? maxWidth : 0,
display: maxWidth > 40 ? "block" : "none",
}}
ref={containerRef}
>