Font things
This commit is contained in:
parent
4dc5c30b20
commit
35859f3eef
2 changed files with 2 additions and 1 deletions
|
|
@ -1568,7 +1568,7 @@ function equalizeCellSizes() {
|
|||
});
|
||||
|
||||
// 4. Determine the target size for square cells
|
||||
const targetSize = Math.max(maxWidthNeeded-maxWidthNeeded*0.1, maxHeightNeeded, minCellSize);
|
||||
const targetSize = Math.max(maxWidthNeeded, maxHeightNeeded, minCellSize);
|
||||
|
||||
// 5. Apply the calculated fixed size back to the grid
|
||||
board.style.gridTemplateColumns = `repeat(${size}, ${targetSize}px)`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue