Skip to content

Commit

Permalink
refactor(sidebar): change when sidebar takes up the whole screen
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhall1515 committed Apr 22, 2024
1 parent 01b4e5c commit 040d3e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/header/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Logo() {
"z-30 flex items-center gap-3",
"text-base font-extrabold tracking-[0.2em]",
sidebar.isExpanded
? "text-foreground md:text-white"
? "text-foreground m:text-white"
: "text-foreground"
)}
>
Expand Down
2 changes: 1 addition & 1 deletion components/header/sidebar/util/innerWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function InnerWrapper({
<aside
className={cn(
"fixed bottom-0 right-0 top-0 z-[29]", //34px 24 - 34 = 10 / 2 = 5
"h-[100svh] w-[100vw] transition-all duration-300 md:w-[20rem]",
"h-[100svh] w-[100vw] transition-all duration-300 m:w-[20rem]",
"outline-none",
"bg-white",
sidebar.isExpanded
Expand Down

0 comments on commit 040d3e1

Please sign in to comment.