diff --git a/webview/src/plots/components/comparisonTable/ComparisonTableRow.tsx b/webview/src/plots/components/comparisonTable/ComparisonTableRow.tsx index 09bfea23f0..50c74f4e9d 100644 --- a/webview/src/plots/components/comparisonTable/ComparisonTableRow.tsx +++ b/webview/src/plots/components/comparisonTable/ComparisonTableRow.tsx @@ -40,7 +40,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;