From 7958b4e8bd62ea51de41cdaaa5645407e18c3da2 Mon Sep 17 00:00:00 2001 From: Kristy Fournier <124598538+kristy-fournier@users.noreply.github.com> Date: Fri, 17 Oct 2025 15:44:10 -0400 Subject: [PATCH] made the search items not have text go out of the box --- Client/scripts.js | 4 ++++ Client/styles.css | 1 + 2 files changed, 5 insertions(+) diff --git a/Client/scripts.js b/Client/scripts.js index dd8870e..6149c98 100644 --- a/Client/scripts.js +++ b/Client/scripts.js @@ -330,6 +330,7 @@ function checkWhatSongWasClicked(e) { submitSong(itemId); } } + function toggleDark(e) { let x = document.getElementById("test-body").classList if (!(x.contains("dark-mode"))) { @@ -341,6 +342,7 @@ function toggleDark(e) { } } + function adminPassEnter(e) { if (e.key == "Enter") { e.preventDefault(); @@ -348,6 +350,7 @@ function adminPassEnter(e) { alertText("Admin Password Updated") } } + async function submitPerms(e) { let tempData = {} tempData["PP"] = document.getElementById("playpausesettingcheckbox").checked; @@ -430,6 +433,7 @@ if (ip == null || ip=="") { if (ip==null || ip==""){ ip = "" } +// saving the cookies (don't tell the EU) document.cookie = "ip="+ip+"; path=/;" alertTime = getCookie("alertTime") diff --git a/Client/styles.css b/Client/styles.css index ffe8a7d..b3ab859 100644 --- a/Client/styles.css +++ b/Client/styles.css @@ -102,6 +102,7 @@ h4 { .songlist > .item > h3, .songlist > .item > h4{ margin-left: 2px; margin-right: 2px; + word-wrap: break-word; } .searchbox-holder {