Skip to content

Commit

Permalink
let navbar choose its own height
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbjoralt committed Nov 1, 2023
1 parent 7849eb1 commit 82e82ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
.layout-grid {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: 60px 1fr;
grid-template-rows: auto 1fr;
grid-template-areas:
"header header"
"sidebar main";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/NavBar/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import NavBarUserIcon from "./NavBarUserIcon";

export default function NavBar() {
return (
<div className="bg-primary_default w-full flex flex-row justify-between header">
<div className="bg-primary_default w-full h-[52px] flex flex-row justify-between header">
<div className="flex flex-row">
<NavBarLink text="Bemanning" path={`bemanning`} />
</div>
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/components/StaffingSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ export default function StaffingSidebar() {
<>
<button
onClick={() => setIsSidebarHidden(false)}
className={`bg-primary_l3 rounded-r p-2 mt-6 hover:bg-primary_default hover:bg-opacity-20 ${
isSidebarHidden && "hidden"
}`}
className="bg-primary_l3 rounded-r p-2 mt-6 hover:bg-primary_default hover:bg-opacity-20"
>
<Filter className="text-primary_default" size="20" />
</button>
Expand Down

0 comments on commit 82e82ce

Please sign in to comment.