优化修改头像在小屏幕上页面布局错位的问题

This commit is contained in:
RuoYi
2022-10-21 12:02:25 +08:00
parent 58e07ba142
commit c759728269
2 changed files with 24 additions and 10 deletions

View File

@@ -250,9 +250,10 @@
}
.avatar-upload-preview {
position: absolute;
position: relative;
top: 50%;
transform: translate(50%, -50%);
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
height: 200px;
border-radius: 50%;