fix: Add margin auto to keep chat centered with panel open

- Forces #sheld to use margin: auto when panel is visible
- Prevents chat from being pushed to one side
- Applies to both left and right panel positions
This commit is contained in:
Spicy_Marinara
2025-10-14 13:16:06 +02:00
parent 685c7ae1c2
commit 0926390205
+9
View File
@@ -1,3 +1,12 @@
/* Ensure chat stays centered when panel is visible */
body:has(.rpg-panel.rpg-position-right) #sheld {
margin: auto !important;
}
body:has(.rpg-panel.rpg-position-left) #sheld {
margin: auto !important;
}
/* ============================================
RPG COMPANION - GAME-LIKE UI - RESPONSIVE
============================================ */