fix: circuit tab full height in playground (override fixed 550px)
This commit is contained in:
parent
1b2c51f72f
commit
455d449d1e
|
|
@ -212,10 +212,24 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.pg-circuit-wrap {
|
.pg-circuit-wrap {
|
||||||
width: 100%;
|
flex: 1;
|
||||||
height: 100%;
|
min-height: 0;
|
||||||
overflow: auto;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Override CircuitEditor agar fill flex area */
|
||||||
|
.pg-content :global(.circuit-container) {
|
||||||
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pg-content :global(.circuit-wrapper) {
|
||||||
|
flex: 1;
|
||||||
|
height: auto;
|
||||||
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pg-code-wrap {
|
.pg-code-wrap {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue