Skip to content

Commit

Permalink
reduce data diff gap for many rows too
Browse files Browse the repository at this point in the history
  • Loading branch information
keckelt committed Mar 22, 2024
1 parent 6feef77 commit 8bdb132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Detail/DataDiff.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export function createSummaryVisualization(
.style('display', 'grid')
.style('grid-template-columns', `repeat(${allColumns.length}, ${showContent ? 'minmax(min-content, 1fr)' : '1fr'})`)
.style('grid-template-rows', `repeat(${data.concat(addedRows).length}, auto)`)
.style('gap', showContent ? '3px' : allColumns.length <= 30 ? '1px' : '0px')
.style('gap', showContent ? '3px' : allColumns.length <= 30 && data.concat(addedRows).length <= 20 ? '1px' : '0px')
.style('width', 'auto');

// Create groups for each row
Expand Down

0 comments on commit 8bdb132

Please sign in to comment.