From c5f3db4513055fec148ea05f9b43f8ab990935fe Mon Sep 17 00:00:00 2001 From: gtarpenning Date: Tue, 10 Dec 2024 15:05:30 -0800 Subject: [PATCH] increase gap from 8 -> 16 to match prod, allow overflow with horizontal scrollbar --- .../ComparisonDefinitionSection.tsx | 23 +++++++++++-------- .../DraggableSection/DraggableSection.tsx | 2 +- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CompareEvaluationsPage/sections/ComparisonDefinitionSection/ComparisonDefinitionSection.tsx b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CompareEvaluationsPage/sections/ComparisonDefinitionSection/ComparisonDefinitionSection.tsx index 60529c6d141..2704a66cbea 100644 --- a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CompareEvaluationsPage/sections/ComparisonDefinitionSection/ComparisonDefinitionSection.tsx +++ b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CompareEvaluationsPage/sections/ComparisonDefinitionSection/ComparisonDefinitionSection.tsx @@ -69,16 +69,19 @@ export const ComparisonDefinitionSection: React.FC<{ return ( -
- +
+ + + diff --git a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CompareEvaluationsPage/sections/DraggableSection/DraggableSection.tsx b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CompareEvaluationsPage/sections/DraggableSection/DraggableSection.tsx index 0cd09c92dd1..23a03ceb5b3 100644 --- a/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CompareEvaluationsPage/sections/DraggableSection/DraggableSection.tsx +++ b/weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CompareEvaluationsPage/sections/DraggableSection/DraggableSection.tsx @@ -15,7 +15,7 @@ type DraggableSectionProps = { export const DraggableSection = SortableContainer( ({state, items, onSetBaseline, onRemoveItem}: DraggableSectionProps) => { return ( -
+
{items.map((item, index) => (