修改打开大图的css,让它待在屏幕中间

This commit is contained in:
STDquantum 2023-12-17 19:19:35 +08:00
parent 6e977f5989
commit 45d406fcdc

View File

@ -756,8 +756,10 @@ body{
display: block; display: block;
max-width: 90%; max-width: 90%;
max-height: 90%; max-height: 90%;
margin: auto; position: absolute;
margin-top: 5%; top: 50%;
left: 50%;
transform: translate(-50%, -50%);
} }
.container{ .container{
height: 99%; height: 99%;