From faab7b69273f9e6d608df64b695399f869149f4e Mon Sep 17 00:00:00 2001 From: andymedina1 <107598069+andymedina1@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:09:43 -0300 Subject: [PATCH 1/2] fix: add columnMinSizes to prevent bug --- src/grid.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/grid.js b/src/grid.js index ca86c21..9f992df 100644 --- a/src/grid.js +++ b/src/grid.js @@ -128,6 +128,7 @@ const setGridLayout = (type = '') => { ...(gutters.rowGutters && { rowGutters: gutters.rowGutters.map(formatGutters) }), + ...(type === 'tabs' && { columnMinSizes: { 0: 300 } }), minSize: 1, onDragEnd: saveGridTemplate } From 6e9daa852980326d8b3f6f3e04aba28014dd971a Mon Sep 17 00:00:00 2001 From: andymedina1 <107598069+andymedina1@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:10:12 -0300 Subject: [PATCH 2/2] fix: gutter 1px separation --- src/css/editors-layout.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/css/editors-layout.css b/src/css/editors-layout.css index efda79a..5e11c43 100644 --- a/src/css/editors-layout.css +++ b/src/css/editors-layout.css @@ -145,6 +145,9 @@ cursor: col-resize; background-image: url(/assets/vertical.png); grid-area: 1 / 2 / 3 / 2; + position: relative; + box-shadow: -1px 0 0 0 var(--grid-background), + 1px 0 0 0 var(--grid-background); } & .second-gutter, & .last-gutter {