Skip to content

Commit

Permalink
Fix layout bg color and sidebar width (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-moreno authored Nov 28, 2024
1 parent 37ecd7e commit 5ee2ecd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/experimental/Navigation/ApplicationFrame/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function ApplicationFrameContent({ children, sidebar }: ApplicationFrameProps) {
<div
className={cn(
{ "transition-all": !shouldReduceMotion },
sidebarState === "locked" ? "w-64 pl-3" : "w-0"
sidebarState === "locked" ? "w-[240px] shrink-0 pl-3" : "w-0"
)}
>
{sidebar}
Expand Down
2 changes: 1 addition & 1 deletion lib/experimental/Navigation/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function Sidebar({ header, body, footer }: SidebarProps) {
<motion.div
initial={false}
className={cn(
"absolute bottom-0 left-0 top-0 z-10 flex w-64 flex-col transition-[background-color]",
"absolute bottom-0 left-0 top-0 z-10 flex w-[240px] flex-col transition-[background-color]",
sidebarState === "locked"
? "h-screen"
: cn(
Expand Down
2 changes: 1 addition & 1 deletion lib/lib/one-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const LayoutProvider: React.FC<
ref={ref}
id="factorial-one-layout"
className={cn({
"flex h-screen w-screen flex-col bg-f1-background-tertiary dark:bg-f1-background":
"flex h-screen w-screen flex-col bg-[#F5F6F8] dark:bg-[#0D1625]":
fullScreen,
})}
>
Expand Down

0 comments on commit 5ee2ecd

Please sign in to comment.