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:
1 parent
685c7ae1c2
commit
0926390205
1 file changed
+9
@@ -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
|
RPG COMPANION - GAME-LIKE UI - RESPONSIVE
|
||||||
============================================ */
|
============================================ */
|
||||||
|
|||||||
Reference in new issue
Block a user