From 2758cdba1c96d961bd0b5ac83ed6c0fca41a8c6e Mon Sep 17 00:00:00 2001 From: Jonas_Jones Date: Fri, 1 Aug 2025 17:17:36 +0200 Subject: [PATCH] reverted word breaking --- src/routes/+page.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 33192d1..7859738 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -190,14 +190,14 @@ Bingo Item 25`; while (cell.scrollHeight > cell.clientHeight || cell.scrollWidth > cell.clientWidth) { fontSize--; cell.style.fontSize = `${fontSize}px`; - if (fontSize < 10) break; // Minimum font size limit + if (fontSize < 8) break; // Minimum font size limit }; fontSize -= 2; // Reduce font size a bit more for better fit fontSize = Math.max(fontSize, 8); // Ensure font size doesn't go below 8px cell.style.fontSize = `${fontSize}px`; // apply wrapping after font adjustment - cell.style.wordBreak = 'break-word'; - cell.style.overflowWrap = 'break-word'; + //cell.style.wordBreak = 'break-word'; + //cell.style.overflowWrap = 'break-word'; }); }