File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
webview/src/plots/components/comparisonTable Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,10 @@ export const ComparisonTableRow: React.FC<ComparisonTableRowProps> = ({
4141 return (
4242 < >
4343 < tr >
44- < td className = { cx ( { [ styles . pinnedColumnCell ] : pinnedColumn } ) } >
44+ < td
45+ className = { cx ( { [ styles . pinnedColumnCell ] : pinnedColumn } ) }
46+ colSpan = { pinnedColumn ? 1 : nbColumns }
47+ >
4548 < div className = { styles . rowPath } >
4649 < button className = { styles . rowToggler } onClick = { toggleIsShownState } >
4750 < Icon icon = { isShown ? ChevronDown : ChevronRight } />
@@ -56,7 +59,7 @@ export const ComparisonTableRow: React.FC<ComparisonTableRowProps> = ({
5659 < CopyButton value = { path } className = { styles . copyButton } />
5760 </ div >
5861 </ td >
59- { nbColumns > 1 && < td colSpan = { nbColumns - 1 } > </ td > }
62+ { nbColumns > 1 && pinnedColumn && < td colSpan = { nbColumns - 1 } > </ td > }
6063 </ tr >
6164 < tr >
6265 { plots . map ( ( plot : ComparisonPlot ) => {
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ $gap: 4px;
102102 text-align : left ;
103103 display : flex ;
104104 user-select : text ;
105- width : calc (100% - 20px );
105+ max- width : calc (100% - 20px );
106106
107107 svg {
108108 fill : $fg-color ;
You can’t perform that action at this time.
0 commit comments