Skip to content

Commit 74ac1c1

Browse files
committed
fix header styles
1 parent 0a443f2 commit 74ac1c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/Header.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ const Header = () => {
2828
)}
2929
</div>
3030
</Link>
31-
<div className="flex items-center space-x-4 leading-5 sm:space-x-6">
32-
<div className="no-scrollbar hidden max-w-40 items-center space-x-4 overflow-x-auto pr-2 sm:flex sm:space-x-6 md:max-w-72 lg:max-w-96">
31+
<div className="flex items-center space-x-4 leading-5 sm:-mr-6 sm:space-x-6">
32+
<div className="no-scrollbar hidden max-w-40 items-center gap-x-4 overflow-x-auto sm:flex md:max-w-72 lg:max-w-96">
3333
{headerNavLinks
3434
.filter((link) => link.href !== '/')
3535
.map((link) => (
3636
<Link
3737
key={link.title}
3838
href={link.href}
39-
className="hover:text-primary-500 dark:hover:text-primary-400 m-1 block font-medium text-gray-900 dark:text-gray-100"
39+
className="hover:text-primary-500 dark:hover:text-primary-400 m-1 font-medium text-gray-900 dark:text-gray-100"
4040
>
4141
{link.title}
4242
</Link>

components/ThemeSwitch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const ThemeSwitch = () => {
6262
useEffect(() => setMounted(true), [])
6363

6464
return (
65-
<div className="mr-5 flex items-center">
65+
<div className="flex items-center">
6666
<Menu as="div" className="relative inline-block text-left">
6767
<div className="hover:text-primary-500 dark:hover:text-primary-400 flex items-center justify-center">
6868
<MenuButton aria-label="Theme switcher">

0 commit comments

Comments
 (0)