Skip to content

Commit 5351bcb

Browse files
committed
fix: profileEdit UI 수정
1 parent e6d63e3 commit 5351bcb

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/pages/ProfileEdit/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
CameraIcon,
1111
UserInfo,
1212
Username,
13+
EmailInput
1314
} from './styles';
1415
import { StyledText } from '../../components/Text/StyledText';
1516
import theme from '../../styles/theme';
@@ -216,7 +217,7 @@ const ProfileEdit: React.FC = () => {
216217
<StyledText $textTheme={{ style: 'body2-regular', lineHeight: 0 }} color={theme.colors.gray3}>
217218
이메일
218219
</StyledText>
219-
<Input type="email" value={email} onChange={(e) => setEmail(e.target.value)} />
220+
<EmailInput type="email" value={email} onChange={(e) => setEmail(e.target.value)} />
220221
</Row>
221222
<BottomButton
222223
content="완료"

src/pages/ProfileEdit/styles.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,17 @@ export const Row = styled.div`
8080
}
8181
`;
8282

83+
export const EmailInput = styled.input`
84+
margin-bottom: 120px;
85+
width: 100%; /* Row의 padding에 맞춰 꽉 채우기 */
86+
padding: 25px; /* 10px padding */
87+
border: 0px;
88+
box-sizing: border-box;
89+
border-radius: 10px;
90+
background-color: #f0f0f0; /* 박스 내부 회색 배경 */
91+
text-align: left;
92+
`;
93+
8394
export const FileInput = styled.input`
8495
display: none;
8596
`;

0 commit comments

Comments
 (0)