Skip to content

Commit a093da1

Browse files
committed
chore: update with suggested changes
1 parent de4b5eb commit a093da1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/DocsNav.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,12 @@ const CardLink = ({ docData, isPrev, contentNotTranslated }: CardLinkProps) => {
4242
const { t } = useTranslation("page-developers-docs")
4343
const { isRtl } = useRtlFlip()
4444

45-
const xPaddingClass = isPrev ? "ps-0" : "pe-0"
46-
4745
return (
4846
<BaseLink
4947
href={docData.href}
5048
className={cn(
5149
"flex w-full flex-1 items-center no-underline",
52-
"h-[82px] rounded-[1px] border bg-background",
50+
"h-[82px] rounded-sm border bg-background",
5351
isPrev ? "justify-start" : "justify-end"
5452
)}
5553
rel={isPrev ? "prev" : "next"}
@@ -68,7 +66,7 @@ const CardLink = ({ docData, isPrev, contentNotTranslated }: CardLinkProps) => {
6866
)}
6967
/>
7068
</div>
71-
<TextDiv className={cn(xPaddingClass, !isPrev ? "text-end" : "")}>
69+
<TextDiv className={cn(!isPrev ? "pe-0 text-end" : "ps-0")}>
7270
<p className="uppercase text-body">{t(isPrev ? "previous" : "next")}</p>
7371

7472
<p className={cn("underline", isPrev ? "text-start" : "text-end")}>

0 commit comments

Comments
 (0)