Skip to content

Commit 253d40d

Browse files
committed
Fixed swtich theme appearance on mobile
1 parent bf2ae76 commit 253d40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/components/SwitchTheme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const SwitchTheme = ({ className }: { className?: string }) => {
2323
return (
2424
<div
2525
onClick={handleToggle}
26-
className={`flex cursor-pointer space-x-2 h-8 items-center hover:bg-[#C9D8E5] dark:hover:bg-[#193048] justify-start w-full rounded-lg pl-3 text-sm ${className}`}
26+
className={`flex cursor-pointer space-x-2 h-8 items-center hover:bg-[#C9D8E5] dark:hover:bg-[#193048] justify-start w-full rounded-lg pl-5 lg:pl-3 text-sm ${className}`}
2727
>
2828
<button className="swap swap-rotate flex flex-row gap-2 justify-start items-center">
2929
{isDarkMode ? <MoonIcon className="h-5 w-5" /> : <SunIcon className="h-5 w-5" />}

0 commit comments

Comments
 (0)