simplify CSS rules for brush editor overflow

This commit is contained in:
liquidex 2024-09-03 22:42:00 +02:00
parent 5b22a50036
commit bfbde0dee3
2 changed files with 18 additions and 24 deletions

View file

@ -41,13 +41,10 @@ main {
&>.right { &>.right {
grid-column: right / right; grid-column: right / right;
height: 100%; height: fit-content;
min-height: 0; min-height: 0;
max-height: 100%; max-height: 100%;
&>.right-content {
max-height: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: stretch; justify-content: stretch;
@ -64,7 +61,6 @@ main {
} }
} }
} }
}
&>rkgk-canvas-renderer { &>rkgk-canvas-renderer {
width: 100%; width: 100%;

View file

@ -51,7 +51,6 @@
<a href="/docs/rkgk.html">Manual</a> <a href="/docs/rkgk.html">Manual</a>
</div> </div>
<div class="right"> <div class="right">
<div class="right-content">
<rkgk-resize-handle <rkgk-resize-handle
data-direction="vertical" data-direction="vertical"
data-target="panels-overlay" data-target="panels-overlay"
@ -60,7 +59,6 @@
<rkgk-brush-editor></rkgk-brush-editor> <rkgk-brush-editor></rkgk-brush-editor>
</div> </div>
</div> </div>
</div>
<rkgk-welcome> <rkgk-welcome>
<dialog name="welcome-dialog" class="rkgk-panel"> <dialog name="welcome-dialog" class="rkgk-panel">