Fix white mode chat messages in offensive and defensive mode pages

This commit is contained in:
csd4ni3l
2025-10-05 13:16:12 +02:00
parent 327c6800e7
commit 326e5a7324
2 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@
</div> </div>
<div id="chat-body" class="card-body" style="height: 400px; overflow-y: auto;"> <div id="chat-body" class="card-body" style="height: 400px; overflow-y: auto;">
<div class="d-flex justify-content-start mb-3"> <div class="d-flex justify-content-start mb-3">
<div class="p-2 rounded bg-light border" style="max-width: 80%;"> <div class="p-2 rounded bg-dark border" style="max-width: 80%;">
<strong>AI ({{ ai_name }}):</strong> I am {{ ai_name }}, the AI. Convince me with a solution to your debt :) <strong>AI ({{ ai_name }}):</strong> I am {{ ai_name }}, the AI. Convince me with a solution to your debt :)
</div> </div>
</div> </div>
@@ -69,7 +69,7 @@
function appendMessage(sender, text, type) { function appendMessage(sender, text, type) {
let alignmentClass = 'justify-content-start'; let alignmentClass = 'justify-content-start';
let backgroundClass = 'bg-light border'; let backgroundClass = 'bg-dark border';
let senderTag = `<strong>${sender}:</strong>`; let senderTag = `<strong>${sender}:</strong>`;
if (sender === 'You') { if (sender === 'You') {

View File

@@ -46,7 +46,7 @@
</div> </div>
<div id="chat-body" class="card-body" style="height: 400px; overflow-y: auto;"> <div id="chat-body" class="card-body" style="height: 400px; overflow-y: auto;">
<div class="d-flex justify-content-start mb-3"> <div class="d-flex justify-content-start mb-3">
<div class="p-2 rounded bg-light border" style="max-width: 80%;"> <div class="p-2 rounded bg-dark border" style="max-width: 80%;">
<strong>AI ({{ ai_name }}):</strong> I am {{ ai_name }}, the AI. Convince me to accept the situation and get me into debt :) <strong>AI ({{ ai_name }}):</strong> I am {{ ai_name }}, the AI. Convince me to accept the situation and get me into debt :)
</div> </div>
</div> </div>
@@ -69,7 +69,7 @@
function appendMessage(sender, text, type) { function appendMessage(sender, text, type) {
let alignmentClass = 'justify-content-start'; let alignmentClass = 'justify-content-start';
let backgroundClass = 'bg-light border'; let backgroundClass = 'bg-dark border';
let senderTag = `<strong>${sender}:</strong>`; let senderTag = `<strong>${sender}:</strong>`;
if (sender === 'You') { if (sender === 'You') {