small bug fixes

This commit is contained in:
2025-01-17 18:31:26 +01:00
parent fe0818ded9
commit 7d1301c342
3 changed files with 14 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

+2 -2
View File
@@ -33,8 +33,8 @@
#loadingText { #loadingText {
position: absolute; position: absolute;
bottom: 0%; bottom: 0%;
left: calc(50% - 40vw); left: calc(50% - 45vw);
width: 80vw; width: 90vw;
text-align: center; text-align: center;
font-size: 1.5rem; font-size: 1.5rem;
word-break: break-word; word-break: break-word;
+12 -1
View File
@@ -32,7 +32,18 @@ let selectedTip = "undefined"
function newTip() { function newTip() {
selectedTip = tipsJson[randomIntFrom0(tipsJson.length)] if (randomIntFrom0(1000) == 0) {
// If you snitch this easter egg code
// then I'll close the source and
// permanently remove the easter egg.
selectedTip = `You like kissing boys, don't you?<br>
<img src="/assets/boykisser_64x64.png"
style="aspect-ratio: 1 / 1; width: min-content; height: min-content;">`
}
else {
selectedTip = tipsJson[randomIntFrom0(tipsJson.length)]
}
debugPrint("new tip", selectedTip) debugPrint("new tip", selectedTip)
} }