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