修复了图片放大比例问题
This commit is contained in:
@@ -203,6 +203,9 @@
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
object-fit: contain; /* 保持图片比例,完整显示 */
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.image-modal-close {
|
||||
|
||||
Reference in New Issue
Block a user