made the search items not have text go out of the box

This commit is contained in:
Kristy Fournier 2025-10-17 15:44:10 -04:00
parent 6ece2d3ea1
commit 7958b4e8bd
2 changed files with 5 additions and 0 deletions

View file

@ -330,6 +330,7 @@ function checkWhatSongWasClicked(e) {
submitSong(itemId); submitSong(itemId);
} }
} }
function toggleDark(e) { function toggleDark(e) {
let x = document.getElementById("test-body").classList let x = document.getElementById("test-body").classList
if (!(x.contains("dark-mode"))) { if (!(x.contains("dark-mode"))) {
@ -341,6 +342,7 @@ function toggleDark(e) {
} }
} }
function adminPassEnter(e) { function adminPassEnter(e) {
if (e.key == "Enter") { if (e.key == "Enter") {
e.preventDefault(); e.preventDefault();
@ -348,6 +350,7 @@ function adminPassEnter(e) {
alertText("Admin Password Updated") alertText("Admin Password Updated")
} }
} }
async function submitPerms(e) { async function submitPerms(e) {
let tempData = {} let tempData = {}
tempData["PP"] = document.getElementById("playpausesettingcheckbox").checked; tempData["PP"] = document.getElementById("playpausesettingcheckbox").checked;
@ -430,6 +433,7 @@ if (ip == null || ip=="") {
if (ip==null || ip==""){ if (ip==null || ip==""){
ip = "" ip = ""
} }
// saving the cookies (don't tell the EU)
document.cookie = "ip="+ip+"; path=/;" document.cookie = "ip="+ip+"; path=/;"
alertTime = getCookie("alertTime") alertTime = getCookie("alertTime")

View file

@ -102,6 +102,7 @@ h4 {
.songlist > .item > h3, .songlist > .item > h4{ .songlist > .item > h3, .songlist > .item > h4{
margin-left: 2px; margin-left: 2px;
margin-right: 2px; margin-right: 2px;
word-wrap: break-word;
} }
.searchbox-holder { .searchbox-holder {