Skip to content

Commit

Permalink
fix header styles
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPereira committed Jan 20, 2024
1 parent 4453a1a commit efb9713
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const Header = () => {
<div className="navbar-end flex-grow mr-4">
<RainbowKitCustomConnectButton />
<FaucetButton />
<SwitchTheme />
<SwitchTheme className="ml-3" />
</div>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/components/SwitchTheme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const SwitchTheme = ({ className }: { className?: string }) => {
}, [isDarkMode]);

return (
<div className={`flex ml-3 ${className}`}>
<div className={`flex ${className}`}>
{/* <input
id="theme-toggle"
type="checkbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const RainbowKitCustomConnectButton = () => {

return (
<>
<div className="flex flex-col items-center mr-1">
<div className="flex flex-col items-center mx-5">
<Balance address={account.address as Address} className="min-h-0 h-auto" />
<span className="text-xs" style={{ color: networkColor }}>
{chain.name}
Expand Down

0 comments on commit efb9713

Please sign in to comment.