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,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
|
||||
============================================ */
|
||||
|
||||
Reference in New Issue
Block a user