File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed
client/src/components/VoteBlock Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { BiX } from '@react-icons/all-files/bi/BiX';
22import classNames from 'classnames/bind' ;
33import React , { useState , useRef } from 'react' ;
44
5+ import Button from '../common/Button' ;
56import style from './style.module.scss' ;
67
78const cx = classNames . bind ( style ) ;
@@ -82,12 +83,12 @@ function VoteBlock() {
8283 > </ input >
8384 </ div >
8485 < div className = { style [ 'vote-buttons' ] } >
85- < button className = { style . button } onClick = { onAdd } >
86- 항목 추가
87- </ button >
88- < button className = { style . button } onClick = { onRegister } >
89- 투표 등록
90- </ button >
86+ < Button className = { style . button } onClick = { onAdd } text = "항목 추가" / >
87+ < Button
88+ className = { style . button }
89+ onClick = { onRegister }
90+ text = " 투표 등록"
91+ / >
9192 </ div >
9293 </ >
9394 ) }
Original file line number Diff line number Diff line change 7575 margin-top : 20px ;
7676
7777 .button {
78+ display : flex ;
79+ align-items : center ;
80+ justify-content : center ;
81+
7882 width : 100px ;
7983 height : 30px ;
80-
8184 margin-left : 12px ;
85+ padding : 0px ;
8286
8387 border-radius : 8px ;
8488
8589 background-color : $primary-100 ;
8690 color : $white ;
91+
92+ span {
93+ padding : 0px ;
94+ }
8795 }
8896 }
8997}
You can’t perform that action at this time.
0 commit comments