Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/containers/dashboard/ColumnsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export default function ColumnsSection({ id }: ColumnsSectionProps) {
}

return (
<section className='block bg-gray-fa lg:flex'>
<ul className='block bg-gray-fa lg:flex'>
<section className='block lg:flex'>
<ul className='block lg:flex'>
{columns?.data && columns.data.map((column) => <Column key={column.id} column={column} />)}
</ul>

Expand Down
2 changes: 1 addition & 1 deletion src/containers/mydashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import DashboardList from './DashboardList';

export default function MyDashboard() {
return (
<div className='h-dvh bg-gray-fa p-10'>
<div className='h-dvh p-10'>
<DashboardList />
</div>
);
Expand Down
10 changes: 5 additions & 5 deletions src/layouts/MainLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ export default function MainLayout({ children }: { children: React.ReactNode })

if (currentPath === '/') {
return (
<>
<div className='min-w-[360px]'>
<Header />
{children}
</>
</div>
);
}

const isDisabled = currentPath === '/signin' || currentPath === '/signup' || currentPath === '/404';

if (isDisabled) return <>{children}</>;
if (isDisabled) return <div className='min-w-[360px]'>{children}</div>;

return (
<div className='flex max-h-dvh max-w-screen-lg'>
<div className='flex min-w-[360px]'>
<Sidebar />

<div className='flex grow flex-col'>
<Header />
<main className='flex flex-col overflow-y-scroll'>{children}</main>
<main className='flex flex-col overflow-y-scroll bg-gray-fa'>{children}</main>
</div>
</div>
);
Expand Down