💄 fix(bg): 样式美化

This commit is contained in:
BTMuli
2023-04-17 00:43:27 +08:00
parent 1c309e38e7
commit 76487c3532
2 changed files with 12 additions and 0 deletions

View File

@@ -78,6 +78,12 @@ function toOuter (item: BTMuli.Genshin.Wiki.Character.BriefInfo) {
overflow: hidden;
}
.card-bg img {
width: 100%;
height: 100%;
object-fit: cover;
}
.card-icon {
position: relative;
width: 100%;

View File

@@ -77,6 +77,12 @@ function toOuter (item: BTMuli.Genshin.Wiki.Weapon.BriefInfo) {
overflow: hidden;
}
.card-bg img {
width: 100%;
height: 100%;
object-fit: cover;
}
.card-icon {
position: relative;
width: 100%;