fix overflow in brush editor
This commit is contained in:
parent
83754a0282
commit
5b22a50036
|
@ -16,6 +16,8 @@ main {
|
|||
&>.fullscreen {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
@ -39,21 +41,27 @@ main {
|
|||
|
||||
&>.right {
|
||||
grid-column: right / right;
|
||||
height: fit-content;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
max-height: 100%;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: stretch;
|
||||
|
||||
&>rkgk-resize-handle {
|
||||
flex-shrink: 0;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
&>rkgk-brush-editor {
|
||||
&>.right-content {
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
flex-grow: 1;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: stretch;
|
||||
|
||||
&>rkgk-resize-handle {
|
||||
flex-shrink: 0;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
&>rkgk-brush-editor {
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,12 +51,14 @@
|
|||
<a href="/docs/rkgk.html">Manual</a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<rkgk-resize-handle
|
||||
data-direction="vertical"
|
||||
data-target="panels-overlay"
|
||||
data-target-property="--right-width"
|
||||
data-init-size="384"></rkgk-resize-handle>
|
||||
<rkgk-brush-editor></rkgk-brush-editor>
|
||||
<div class="right-content">
|
||||
<rkgk-resize-handle
|
||||
data-direction="vertical"
|
||||
data-target="panels-overlay"
|
||||
data-target-property="--right-width"
|
||||
data-init-size="384"></rkgk-resize-handle>
|
||||
<rkgk-brush-editor></rkgk-brush-editor>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue