Skip to content

Commit

Permalink
Fix App Bar Icon Shrinking and Wrapper Overlapping with main contents…
Browse files Browse the repository at this point in the history
… Issues (code100x#1612)

* fixed app bar icon sizing issue by setting min-width to app bar

* fix: update styling for wrapper and set min-width to 2rem to resolve layout issues

* updated min-width of appbar when collapsed to 4rem
  • Loading branch information
rajveeerr authored Dec 6, 2024
1 parent 99917c5 commit 364ce05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@

@layer utilities {
.wrapper {
@apply h-full w-full max-w-7xl px-4 py-4 md:px-12 lg:mx-auto xl:max-w-[90rem];
@apply h-full w-full max-w-7xl px-4 py-4 md:px-12 lg:px-20 lg:mx-auto xl:max-w-[90rem];
}

.flex-center {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Appbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const Appbar = () => {
stiffness: 200,
damping: 20,
}}
className="fixed left-0 top-0 z-[999] hidden h-full flex-col border-r border-primary/10 bg-background dark:bg-background lg:flex"
className="fixed left-0 top-0 z-[999] hidden h-full flex-col border-r border-primary/10 bg-background dark:bg-background lg:flex min-w-16"
>
<div className="flex h-full flex-col gap-4">
<div className="flex w-full items-center border-b border-primary/10 px-2 py-4">
Expand Down

0 comments on commit 364ce05

Please sign in to comment.