forked from natuka/web.puabadge.com
图片优化
This commit is contained in:
1 parent
32fb3f332c
commit
3443d055bf
1 file changed
+3
-2
@@ -187,6 +187,8 @@ function getStatus(status: number) {
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 320px;
|
width: 320px;
|
||||||
height: 320px;
|
height: 320px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.avatar-back-img {
|
.avatar-back-img {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -197,14 +199,13 @@ function getStatus(status: number) {
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
.avatar-front-box {
|
.avatar-front-box {
|
||||||
width: 320px;
|
|
||||||
height: 320px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
.avatar-font-img {
|
.avatar-font-img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
max-height: 320px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
.progress-image-item-shadow {
|
.progress-image-item-shadow {
|
||||||
|
|||||||
Reference in new issue
Block a user