From 6d8acfd25b8c0e4e0a50773be8b467d54911531f Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Tue, 12 Sep 2023 20:01:48 +0200 Subject: [PATCH 1/2] Fix resize regression --- src/fontra/views/editor/editor.css | 6 ------ src/fontra/views/editor/panel-designspace-navigation.js | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fontra/views/editor/editor.css b/src/fontra/views/editor/editor.css index 5f80e24c6..7fef15835 100644 --- a/src/fontra/views/editor/editor.css +++ b/src/fontra/views/editor/editor.css @@ -338,12 +338,6 @@ body { padding-bottom: 0.4em; } -#sources-list { - min-height: 100px; - margin-top: 1em; - flex-shrink: 1000; -} - .canvas-container { position: relative; /* for the children */ width: 100%; diff --git a/src/fontra/views/editor/panel-designspace-navigation.js b/src/fontra/views/editor/panel-designspace-navigation.js index 2b8c2a8df..b25787db7 100644 --- a/src/fontra/views/editor/panel-designspace-navigation.js +++ b/src/fontra/views/editor/panel-designspace-navigation.js @@ -67,6 +67,12 @@ export default class DesignspaceNavigationPanel extends Panel { height: 1px; grid-column: 1 / -1; } + + #sources-list { + min-height: 100px; + margin-top: 1em; + flex-shrink: 1000; + } `; getContentElement() { From 4f8a25e7fa93aea2d04d3b24f6650f365e2423c7 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Tue, 12 Sep 2023 20:05:43 +0200 Subject: [PATCH 2/2] Remove bad top margin --- src/fontra/views/editor/panel-designspace-navigation.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fontra/views/editor/panel-designspace-navigation.js b/src/fontra/views/editor/panel-designspace-navigation.js index b25787db7..129489be4 100644 --- a/src/fontra/views/editor/panel-designspace-navigation.js +++ b/src/fontra/views/editor/panel-designspace-navigation.js @@ -70,7 +70,6 @@ export default class DesignspaceNavigationPanel extends Panel { #sources-list { min-height: 100px; - margin-top: 1em; flex-shrink: 1000; } `;