Skip to content

Commit 6dfa39d

Browse files
committed
refactor: mobile style optimization
1 parent b91571c commit 6dfa39d

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

client/src/components/ArticleList/index.module.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
border-radius: var(--border-radius);
44
box-shadow: var(--box-shadow);
55
margin-top: 1rem;
6+
67
}
78

89
.articleItem {
@@ -53,6 +54,12 @@
5354
}
5455
}
5556

57+
@media (max-width: 992px) {
58+
.coverWrapper {
59+
width: 180px;
60+
}
61+
}
62+
5663
.badge {
5764
position: absolute;
5865
top: 20px;
@@ -100,7 +107,7 @@
100107

101108
header {
102109
display: flex;
103-
align-items: center;
110+
align-items: flex-start;
104111

105112
.title {
106113
overflow: hidden;

client/src/components/Header/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ $height: 64px;
244244
}
245245

246246
.menu {
247-
width: calc(100% - 124px);
247+
width: calc(100% - 130px);
248248
}
249249
}
250250
}

0 commit comments

Comments
 (0)