docs: design polish (#8696)

* polish

* finish polish

* change typography
This commit is contained in:
Shahed Nasser
2024-08-21 20:04:43 +02:00
committed by GitHub
parent a3c311126e
commit b6f990c017
25 changed files with 329 additions and 190 deletions
@@ -118,7 +118,12 @@ export const SidebarItemLink = ({
shallow={!item.isPathHref}
{...item.linkProps}
>
<span className={clsx(isTitleOneWord && "truncate")}>
<span
className={clsx(
isTitleOneWord && "truncate",
nested && "inline-block pl-docs_1.5"
)}
>
{item.title}
</span>
{item.additionalElms}
@@ -129,7 +134,6 @@ export const SidebarItemLink = ({
className={clsx(
"ease-ease overflow-hidden",
"flex flex-col gap-docs_0.125",
!item.childrenSameLevel && "pl-docs_1.5",
"pt-docs_0.125 pb-docs_0.5"
)}
>