fix
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

This commit is contained in:
2026-06-05 10:12:50 -06:00
parent 6a97c7ee6e
commit faab638caf

View File

@@ -191,8 +191,9 @@ watch(() => props.submissionId, loadSubmission, { immediate: true })
padding: 32px;
box-sizing: border-box;
background: #ffffff;
/* 改为可滚动块布局,超出视口的大图可以滚动查看 */
display: block;
display: flex;
flex-direction: column;
align-items: center;
overflow: auto;
}
@@ -208,10 +209,9 @@ watch(() => props.submissionId, loadSubmission, { immediate: true })
height: 100%;
}
/* 全屏时按自然尺寸显示水平居中,配合容器滚动 */
/* 全屏时按自然尺寸显示水平居中由 flex 容器负责 */
:deep(.flowchart-fullscreen > svg) {
display: block;
margin: 0 auto;
width: auto;
height: auto;
max-width: none;