diff --git a/webview/src/plots/components/comparisonTable/ComparisonTableRow.tsx b/webview/src/plots/components/comparisonTable/ComparisonTableRow.tsx index 9ea17b081b..97ef949ec0 100644 --- a/webview/src/plots/components/comparisonTable/ComparisonTableRow.tsx +++ b/webview/src/plots/components/comparisonTable/ComparisonTableRow.tsx @@ -41,7 +41,10 @@ export const ComparisonTableRow: React.FC = ({ return ( <> - +
- {nbColumns > 1 && } + {nbColumns > 1 && pinnedColumn && } {plots.map((plot: ComparisonPlot) => { diff --git a/webview/src/plots/components/comparisonTable/styles.module.scss b/webview/src/plots/components/comparisonTable/styles.module.scss index b80a023665..69790cf8b9 100644 --- a/webview/src/plots/components/comparisonTable/styles.module.scss +++ b/webview/src/plots/components/comparisonTable/styles.module.scss @@ -102,7 +102,7 @@ $gap: 4px; text-align: left; display: flex; user-select: text; - width: calc(100% - 20px); + max-width: calc(100% - 20px); svg { fill: $fg-color;