Skip to content

Commit 0041571

Browse files
author
DavidQ
committed
Make Vector Asset Studio canvas viewport fill panel height
- update `tools/Vector Asset Studio/svgBackgroundEditor.css` - set `.canvas-panel` to `min-height: 0` for proper flex/grid shrink behavior - set `.canvas-viewport` to full available height (`min-height: 0; height: 100%`) - remove fixed minimum-height behavior that left unused space below the editor - result: Vector Asset Studio main canvas area now extends to the bottom of its panel consistently
1 parent 06433dc commit 0041571

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/Vector Asset Studio/svgBackgroundEditor.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ button:disabled {
244244
display: flex;
245245
flex-direction: column;
246246
padding: 10px;
247+
min-height: 0;
247248
}
248249

249250
.canvas-toolbar {
@@ -258,7 +259,8 @@ button:disabled {
258259
.canvas-viewport {
259260
position: relative;
260261
flex: 1;
261-
min-height: 260px;
262+
min-height: 0;
263+
height: 100%;
262264
border: 1px solid var(--svg-border);
263265
border-radius: 8px;
264266
overflow: hidden;

0 commit comments

Comments
 (0)