Skip to content

Commit 06433dc

Browse files
author
DavidQ
committed
Align Tilemap Studio canvas output to full-height panel fill
- update `tools/Tilemap Studio/tileMapEditor.css` - ensure `.canvas-panel` can shrink/grow in grid layout (`min-height: 0`) - make `.canvas-wrap` fill remaining vertical space (`min-height: 0; height: 100%`) - remove fixed minimum-height behavior that left unused space below output - result: Tilemap Studio output region extends to the bottom of its panel consistently
1 parent c3c18ef commit 06433dc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/Tilemap Studio/tileMapEditor.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ select {
140140
display: flex;
141141
flex-direction: column;
142142
padding: 10px;
143+
min-height: 0;
143144
}
144145

145146
.canvas-toolbar {
@@ -158,7 +159,8 @@ select {
158159

159160
.canvas-wrap {
160161
flex: 1;
161-
min-height: 260px;
162+
min-height: 0;
163+
height: 100%;
162164
overflow: auto;
163165
border: 1px solid var(--editor-border);
164166
border-radius: 8px;

0 commit comments

Comments
 (0)