diff --git a/beango/css/beango.css b/beango/css/beango.css index 751a585..41331d2 100644 --- a/beango/css/beango.css +++ b/beango/css/beango.css @@ -78,6 +78,7 @@ body { overflow-wrap: normal; hyphens: none; font-size: 1.5rem; /* Moved font size here */ + line-height: 1.2; color: var(--cell-text-color, #000); text-shadow: var(--cell-text-outline, none); position: relative; /* Needed for z-index */ diff --git a/beango/js/beango.js b/beango/js/beango.js index 4412cb4..df4a0d0 100644 --- a/beango/js/beango.js +++ b/beango/js/beango.js @@ -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)`;