Skip to content

Commit

Permalink
Update Sidebar.jsx for proper displaying External links icon in dark …
Browse files Browse the repository at this point in the history
…mode
  • Loading branch information
Vishv0407 committed Oct 2, 2024
1 parent 8a71938 commit 5ce91ac
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,15 @@ const DocLinkBlank = ({
}}
>
{label}
<ExternalLinkIcon
style={{ marginLeft: '0.25em', width: '1em', height: '1em' }}
/>
<span className='dark:invert flex justify-center items-center'>
<ExternalLinkIcon
style={{
marginLeft: '0.25em',
width: '1em',
height: '1em',
}}
/>
</span>
</Link>
);
};
Expand Down

0 comments on commit 5ce91ac

Please sign in to comment.