refactor: retain workflow as optional editor
This commit is contained in:
@@ -13,6 +13,64 @@
|
||||
width: min(620px, calc(100vw - 32px));
|
||||
}
|
||||
|
||||
.workflow-standard-comparison-dialog {
|
||||
width: min(1180px, calc(100vw - 32px));
|
||||
height: min(760px, calc(100vh - 32px));
|
||||
}
|
||||
|
||||
.workflow-standard-comparison {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
gap: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.workflow-standard-revision {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
flex-direction: column;
|
||||
border: var(--border-line);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--panel-soft);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.workflow-standard-revision header {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
padding: 10px;
|
||||
border-bottom: var(--border-line);
|
||||
}
|
||||
|
||||
.workflow-standard-revision small {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.workflow-standard-revision pre {
|
||||
min-height: 0;
|
||||
flex: 1 1 auto;
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
font-size: 11px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.workflow-standard-comparison {
|
||||
grid-template-columns: 1fr;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.workflow-standard-revision {
|
||||
min-height: 260px;
|
||||
}
|
||||
}
|
||||
|
||||
.workflow-definition-fields {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
|
||||
Reference in New Issue
Block a user