Skip to content

Commit

Permalink
减小主页logo在移动端屏幕的大小
Browse files Browse the repository at this point in the history
  • Loading branch information
KoriIku committed Oct 9, 2024
1 parent a372c6d commit 4706416
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ export default {
justify-content: center;
}
/* 针对小屏幕的样式 */
@media (max-width: 600px) {
.logo {
font-size: 35px;
top: 37vh; /* 从 30vh 增加到 35vh */
}
.search-container {
top: calc(37vh + 80px);
}
}
.about {
position: absolute;
top: 20px;
Expand Down

0 comments on commit 4706416

Please sign in to comment.