Skip to content

Commit

Permalink
Merge pull request #214 from first19326/dev
Browse files Browse the repository at this point in the history
feat: 优化 logo 区域样式
  • Loading branch information
imsyy authored Nov 13, 2023
2 parents e879efa + 704d446 commit 015a139
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,13 @@ watch(
flex-direction: row;
align-items: center;
animation: fade 0.5s;
max-width: 460px;
.logo-img {
border-radius: 50%;
width: 120px;
}
.name {
width: calc(460px - 120px);
width: 100%;
padding-left: 22px;
transform: translateY(-8px);
font-family: "Pacifico-Regular";
Expand Down Expand Up @@ -125,6 +126,10 @@ watch(
}
}
}
@media (max-width: 720px) {
max-width: 100%;
}
}
.description {
Expand Down
2 changes: 2 additions & 0 deletions src/style/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ p {
// 字体文件
@font-face {
font-family: "Pacifico-Regular";
font-display: swap;
src: url("/font/Pacifico-Regular.ttf") format("truetype");
}

@font-face {
font-family: "UnidreamLED";
font-display: swap;
src: url("/font/UnidreamLED.ttf") format("truetype");
}

Expand Down

0 comments on commit 015a139

Please sign in to comment.