Skip to content

Commit 3109a56

Browse files
authored
[EC-101] FE/refactor : 공통 스타일 수정 (#82)
* [EC-101] style: 스크롤에 따른 사이드바 높이 수정 * [EC-101] refactor: 로그인 ui 수정 * [EC-101] style: 개인정보 수정 style 중앙 배치 수정
1 parent 3ffcca7 commit 3109a56

File tree

4 files changed

+21
-24
lines changed

4 files changed

+21
-24
lines changed

client/src/components/sideBar/SideBar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default function SideBar() {
144144
<div className={styles.sideBar}>
145145
<div ref={infoRef} onClick={() => setIsOpen(true)} className={styles.memberInfo}>
146146
<div className={styles.memberInfoImg}>
147-
<img src="../../assets/logo.png" alt="user image" />
147+
<img src="/assets/logo.png" alt="user image" />
148148
</div>
149149

150150
<div className={styles.memberInfoDetail}>

client/src/components/sideBar/SideBar.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.sideBar {
22
min-width: 280px;
3-
height: 100%;
3+
min-height: 100%;
44
min-height: var(--height-full);
55
background-color: var(--bg-100);
66
padding: var(--padding-medium);
Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,35 @@
11
.login {
2-
width: 500px;
2+
width: 260px;
33
display: flex;
44
align-items: center;
55
justify-content: center;
66
flex-direction: column;
77
position: absolute;
8-
top: 30%;
8+
top: 50%;
99
left: 50%;
10-
transform: translate(-50%);
11-
/* box-sizing: content-box; */
10+
transform: translate(-50%, -50%);
1211
}
1312

1413
.loginButton {
15-
width: 60%;
16-
padding: 0px 0px 10px 17px;
14+
width: 100%;
15+
margin-top: var(--margin-basic);
1716
}
1817

1918
.logoImage {
20-
width: 80px;
21-
height: 80px;
22-
display: flex;
23-
align-items: center;
24-
justify-content: center;
25-
box-sizing: border-box;
26-
margin-bottom: 50px;
27-
}
19+
width: 80px;
20+
height: 80px;
21+
display: flex;
22+
align-items: center;
23+
justify-content: center;
24+
box-sizing: border-box;
25+
margin-bottom: var(--margin-basic);
26+
}
2827

29-
.logoImage img {
28+
.logoImage img {
3029
width: 100%;
3130
height: 100%;
32-
}
31+
}
3332

3433
.login p span {
3534
display: none;
3635
}
37-

client/src/pages/studentSetting/StudentSetting.module.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.studentSetting {
2-
height: var(--height-full);
3-
width: 350px;
4-
margin: 0 auto;
2+
width: 100%;
3+
height: 100%;
54
display: flex;
65
align-items: center;
76
justify-content: center;
@@ -16,8 +15,8 @@
1615
justify-content: center;
1716
flex-direction: row;
1817
box-sizing: border-box;
19-
gap: 10px;
20-
}
18+
gap: 1rem;
19+
}
2120

2221
.noneInputBox p span {
2322
display: none;

0 commit comments

Comments
 (0)