Skip to content

Commit f38e915

Browse files
committed
Refactor TopNav component to include overflow-hidden for React 18 icon link.
1 parent ef7dcba commit f38e915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Layout/TopNav/TopNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export default function TopNav({
366366
<Link
367367
href="https://ko-react-exy5xcwjj-fbopensource.vercel.app/"
368368
aria-label="React version 18 Korean translation"
369-
className="active:scale-95 transition-transform flex w-12 h-12 rounded-full items-center justify-center hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link">
369+
className="active:scale-95 transition-transform flex w-12 h-12 rounded-full items-center justify-center overflow-hidden hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link">
370370
{react18Icon}
371371
</Link>
372372
</div>

0 commit comments

Comments
 (0)