Skip to content

Commit

Permalink
fix: 속성명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyung committed Feb 23, 2024
1 parent e3eec71 commit e9d20d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/(sub-page)/file-upload/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import ContentContainer from '../../ui/view/atom/content-container';

export default function Page() {
return (
<ContentContainer style="flex flex-col items-center gap-8">
<ContentContainer className="flex flex-col items-center gap-8">
<div>요소1</div>
<div>요소2</div>
</ContentContainer>
Expand Down
6 changes: 3 additions & 3 deletions app/ui/view/atom/content-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ import { twMerge } from 'tailwind-merge';
interface ContentContainerProps {
children: React.ReactNode;
size?: 'md' | 'lg';
style?: string;
className?: string;
}

export default function ContentContainer({ children, size = 'md', style }: ContentContainerProps) {
export default function ContentContainer({ children, size = 'md', className }: ContentContainerProps) {
return (
<div
className={twMerge(
'absolute bg-white top-[7rem] zIndex-1 rounded-xl p-[1.5rem] shadow-lg max-md:w-full',
size === 'md' ? 'md:w-[70%]' : 'md:w-[80%]',
style,
className,
)}
>
{children}
Expand Down

0 comments on commit e9d20d6

Please sign in to comment.