Font things

This commit is contained in:
Joey Yakimowich-Payne 2025-04-19 05:20:16 -06:00
commit 35859f3eef
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
2 changed files with 2 additions and 1 deletions

View file

@ -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 */

View file

@ -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)`;