From 7ce10978266475fecdfe65ae33004845bdf1ef7d Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Mon, 18 Aug 2025 07:23:59 +0200 Subject: [PATCH] fix: prevent reflow between entry editors --- .../components/input/colour-input/SwatchSelect.module.scss | 3 ++- apps/client/src/features/rundown/RundownExport.module.scss | 1 - .../src/features/rundown/entry-editor/EntryEditor.module.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/client/src/common/components/input/colour-input/SwatchSelect.module.scss b/apps/client/src/common/components/input/colour-input/SwatchSelect.module.scss index 8aca1821d..90d934f33 100644 --- a/apps/client/src/common/components/input/colour-input/SwatchSelect.module.scss +++ b/apps/client/src/common/components/input/colour-input/SwatchSelect.module.scss @@ -1,12 +1,13 @@ .list { display: flex; - flex-wrap: wrap; + flex-wrap: nowrap; gap: 0.5rem; } .swatch { width: 2rem; height: 2rem; + aspect-ratio: 1; border-radius: 99px; border: 2px solid $gray-1200; color: $ui-white; diff --git a/apps/client/src/features/rundown/RundownExport.module.scss b/apps/client/src/features/rundown/RundownExport.module.scss index d22039d14..1e262b164 100644 --- a/apps/client/src/features/rundown/RundownExport.module.scss +++ b/apps/client/src/features/rundown/RundownExport.module.scss @@ -43,6 +43,5 @@ border-radius: 0 8px 8px 0; flex: 1 1 auto; /* flex-grow: 1, flex-shrink: 1, flex-basis: auto */ - min-width: 30rem; max-width: 45rem; } diff --git a/apps/client/src/features/rundown/entry-editor/EntryEditor.module.scss b/apps/client/src/features/rundown/entry-editor/EntryEditor.module.scss index 5bf8d91f8..4188f24c3 100644 --- a/apps/client/src/features/rundown/entry-editor/EntryEditor.module.scss +++ b/apps/client/src/features/rundown/entry-editor/EntryEditor.module.scss @@ -13,7 +13,7 @@ display: flex; flex-direction: column; gap: 1.5rem; - overflow-y: auto; + overflow-y: scroll; } .timeSettings {