fix
This commit is contained in:
@@ -181,13 +181,10 @@ watch(() => props.submissionId, loadSubmission, { immediate: true })
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 全屏大图:覆盖整个视口,脱离弹框宽度限制 */
|
|
||||||
.flowchart-fullscreen {
|
.flowchart-fullscreen {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
z-index: 4000;
|
z-index: 4000;
|
||||||
width: 100vw;
|
|
||||||
height: 100vh;
|
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
@@ -202,15 +199,11 @@ watch(() => props.submissionId, loadSubmission, { immediate: true })
|
|||||||
z-index: 4001;
|
z-index: 4001;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 确保 SVG 图表占满容器 */
|
|
||||||
:deep(.flowchart > svg) {
|
:deep(.flowchart > svg) {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 全屏时按自然尺寸显示,水平居中 */
|
|
||||||
:deep(.flowchart-fullscreen > svg) {
|
:deep(.flowchart-fullscreen > svg) {
|
||||||
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