mirror of
https://github.com/JonasunderscoreJones/BingoGenerator.git
synced 2025-10-23 01:29:18 +02:00
Compare commits
No commits in common. "b7885beb40525dfb1614b26997304ea60a69cf67" and "e16f0f1314c55ecafc02924160e48d241f012aaa" have entirely different histories.
b7885beb40
...
e16f0f1314
1 changed files with 3 additions and 9 deletions
|
@ -190,14 +190,8 @@ Bingo Item 25`;
|
||||||
while (cell.scrollHeight > cell.clientHeight || cell.scrollWidth > cell.clientWidth) {
|
while (cell.scrollHeight > cell.clientHeight || cell.scrollWidth > cell.clientWidth) {
|
||||||
fontSize--;
|
fontSize--;
|
||||||
cell.style.fontSize = `${fontSize}px`;
|
cell.style.fontSize = `${fontSize}px`;
|
||||||
if (fontSize < 10) break; // Minimum font size limit
|
if (fontSize < 12) 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';
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -322,7 +316,7 @@ Bingo Item 25`;
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="notice-box cookie-notice">
|
<div class="notice-box cookie-notice">
|
||||||
<p>This Website uses functional Cookies to store the Running Game, Settings and the Bingo Entries.<br><br>They can be deleted in the Settings.</p>
|
<p>This Website uses functional Cookies to store the Running Bingo Game, Settings and the Entered Bingo Entries.<br><br>They can be deleted in the Settings.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bingo-container bingo-grid-container">
|
<div class="bingo-container bingo-grid-container">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue