Skip to content

Commit

Permalink
baseline monbile nav
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpthemrp committed Dec 14, 2024
1 parent bf983eb commit 706a819
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/components/navbar/burgerOpenButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ const openBurgerPaths: string[] = [
const BurgerOpenButton = (props: BurgerOpenButtonProps) => {
return (
<button
className={"cursor-pointer"}
className={"cursor-pointer h-fit"}
onClick={() => {
props.onClick(!props.isOpen);
}}
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="30"
height="30"
viewBox="0 0 30 30"
width="23"
height="23"
viewBox="0 0 23 23"
fill="none"
>
<path
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function NavBar() {
(mobileShouldOpenBurger ? "h-[100dvh] bg-background " : "h-fit")
}
>
<div className={" flex flex-row grow justify-between "}>
<div className={" flex flex-row grow justify-between items-baseline "}>
<Logotype />
<BurgerOpenButton isOpen={mobileShouldOpenBurger} onClick={setMobileShouldOpenBurger} />
</div>
Expand Down

0 comments on commit 706a819

Please sign in to comment.