style:修改开始考试页面居中方式

This commit is contained in:
songwc
2022-09-20 11:12:48 +08:00
parent 16e1a6cf6c
commit 7e5cc39a47

View File

@@ -143,8 +143,11 @@ export default {
// flex-direction: column; // flex-direction: column;
// justify-content: center; // justify-content: center;
.middle { .middle {
position: relative; position: absolute;
margin-left: 510px; left: 50%;
transform: translate(-50%, 0);
// margin-left: 510px;
// right: 510px;
.righttitle { .righttitle {
display: flex; display: flex;
padding-top: 30px; padding-top: 30px;