docs: fix scroll + divider issues (#9663)

This commit is contained in:
Shahed Nasser
2024-10-21 09:54:05 +03:00
committed by GitHub
parent 34621f53a3
commit b4855825be
8 changed files with 73 additions and 28 deletions

View File

@@ -19,7 +19,9 @@ const SectionContainer = forwardRef<HTMLDivElement, SectionContainerProps>(
ref={ref}
>
{children}
{!noDivider && <SectionDivider className="-left-1.5 lg:!-left-full" />}
{!noDivider && (
<SectionDivider className="-left-[16px] lg:!-left-1/4" />
)}
</div>
)
}