Removed the background color for Fourthwall Order Placed alerts

This commit is contained in:
nuttylmao
2025-03-29 07:04:48 +11:00
parent f4447cad36
commit 2b3e57b565
2 changed files with 10 additions and 6 deletions
+5 -4
View File
@@ -1375,7 +1375,7 @@ function FourthwallOrderPlaced(data) {
const contentDiv = instance.querySelector("#content"); const contentDiv = instance.querySelector("#content");
// Set the card background colors // Set the card background colors
cardDiv.classList.add('fourthwall'); cardDiv.classList.add('blank');
titleDiv.classList.add('centerThatShitHomie'); titleDiv.classList.add('centerThatShitHomie');
contentDiv.classList.add('centerThatShitHomie'); contentDiv.classList.add('centerThatShitHomie');
@@ -1412,12 +1412,13 @@ function FourthwallOrderPlaced(data) {
else else
contents = ` (${orderTotal} ${currency})`; contents = ` (${orderTotal} ${currency})`;
console.log(contents);
titleDiv.innerHTML = contents; titleDiv.innerHTML = contents;
if (message != null) // Add the custom message from the user
if (message.trim() != "")
contentDiv.innerHTML = `${message}`; contentDiv.innerHTML = `${message}`;
else
contentDiv.style.display = 'none'
AddMessageItem(instance, data.id); AddMessageItem(instance, data.id);
} }
+5 -2
View File
@@ -232,8 +232,11 @@ li {
} }
.fourthwall { .fourthwall {
/* background: linear-gradient(#405eb3, #0d3cb9) !important; */ background: linear-gradient(#405eb3, #0d3cb9) !important;
background: #adadad46 !important; }
.blank {
background: #adadad00 !important;
} }
/****************/ /****************/