FIX_CHATBOT_BG_IMG_HEIGHT

This commit is contained in:
velz 2025-08-16 18:57:52 +05:30
parent 5133838a8b
commit 5b2299210d

View File

@ -262,9 +262,9 @@ function setupMessageObserver() {
const chatElements = doc.querySelectorAll("#messageArea .chat, #messageArea ol.chat, ol.chat");
chatElements.forEach(element => {
if (element) {
element.style.setProperty("height", 95 + "vh", "important");
element.style.setProperty("max-height", 95 + "vh", "important");
element.style.setProperty("min-height", 95 + "vh", "important");
element.style.setProperty("height", 85 + "vh", "important");
element.style.setProperty("max-height", 85 + "vh", "important");
element.style.setProperty("min-height", 85 + "vh", "important");
element.style.setProperty("transition", "height 0.3s ease", "important");
console.log('Direct style applied to:', element);
}
@ -417,9 +417,9 @@ function setupMessageObserver() {
const chatElements = doc.querySelectorAll("#messageArea .chat, #messageArea ol.chat, ol.chat");
chatElements.forEach(element => {
if (element) {
element.style.setProperty("height", 95 + "vh", "important");
element.style.setProperty("max-height", 95 + "vh", "important");
element.style.setProperty("min-height", 95 + "vh", "important");
element.style.setProperty("height", 85 + "vh", "important");
element.style.setProperty("max-height", 85 + "vh", "important");
element.style.setProperty("min-height", 85 + "vh", "important");
}
});