Skip to content

Commit

Permalink
Fix: 일부 레이아웃 수정 #65
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyeeeah committed Oct 16, 2023
1 parent 6d9ba16 commit e4607fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export default function BoardCardModalWrapper({
imgs,
}: {
children: React.ReactNode;
imgs?: string[];
imgs: string[];
}) {
return (
<FlexBox
direction="column"
className={` ${
imgs ? 'w-[1028px]' : 'w-[434px]'
imgs.length !== 0 ? 'w-[1028px]' : 'w-[434px]'
} h-[720px] p-9 gap-4 bg-white opacity-100 border-[1px] border-grey-200 rounded-[10px]`}
>
{children}
Expand Down
4 changes: 3 additions & 1 deletion components/ui/BoardCard/BoardCardPackage/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export default function BoardCardContent({
<FlexBox
direction="column"
align="start"
className={`${type === 'mainPC' ? 'w-full' : 'w-[375px] h-full'} gap-3`}
className={`${(type === 'mainPC' || type === 'myPage') && 'w-full'} ${
type === 'modal' && 'w-[375px] h-full'
} gap-3`}
>
<div
className={`body3 text-grey-800 ${
Expand Down

0 comments on commit e4607fb

Please sign in to comment.