Skip to content

Commit

Permalink
design: 컨텐츠 등록 컴포넌트 간격개선
Browse files Browse the repository at this point in the history
  • Loading branch information
JoStar33 committed Aug 20, 2024
1 parent 830c2b8 commit 4a0124c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/contents/write/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@ export default function ContentsWrite({ onSubmit }: IProps) {
<Form.FileDrop<IContentsRegisterForm> name="image" />
<Form.InputA<IContentsRegisterForm> name="title" />
<Form.TextArea<IContentsRegisterForm> name="description" />
<Button name="positive">등록</Button>
<Button type="submit" name="positive">
등록
</Button>
</S.ContentsWrite>
);
}

const S = {
ContentsWrite: styled.form``,
ContentsWrite: styled.form`
display: flex;
flex-direction: column;
gap: 10px;
`,
};

0 comments on commit 4a0124c

Please sign in to comment.