Skip to content

Commit

Permalink
Merge branch 'main' of github-ls:LennardSchwarz/konsila.de
Browse files Browse the repository at this point in the history
  • Loading branch information
konsila committed Nov 8, 2023
2 parents e4235bb + a58c301 commit e084ff7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion modules/mainHeader/AppHeader/AppHeader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
padding: var(--spacing-28) var(--spacing-16);

@media (--screen-md-min) {
padding: var(--spacing-24) var(--spacing-48);
padding: var(--spacing-24) var(--spacing-80) var(--spacing-24)
var(--spacing-48); // Spacing 80 aligns the theme button with the social links
}
}

Expand Down
5 changes: 2 additions & 3 deletions modules/mainHeader/AppHeader/AppHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { useMemo } from 'react';
import cn from 'classnames';

import { useWindowScroll, useScrollDirection } from 'hooks';
import { Navbar } from 'modules/mainHeader/Navbar';
import { AppLink } from 'components/AppLink';
import { ThemeToggle } from 'modules/mainHeader/ThemeToggle';

export const AppHeader: React.FC = () => {
const { y: scrollPosY } = useWindowScroll();
Expand All @@ -27,8 +27,7 @@ export const AppHeader: React.FC = () => {
<h1 className="main-header__logo">
<AppLink to="/">konsila Systemberatung</AppLink>
</h1>

<Navbar />
<ThemeToggle />
</div>
</header>
);
Expand Down

0 comments on commit e084ff7

Please sign in to comment.