Fix Save Roll button centering in dice popup

- Added margin-left and margin-right auto to center the button in desktop view
- Button now properly centers within the popup window when max-width is applied
This commit is contained in:
Spicy_Marinara
2025-10-17 00:11:24 +02:00
parent 84d2bad5ef
commit cc53c69af8
2 changed files with 12 additions and 9 deletions
+3 -1
View File
@@ -639,7 +639,7 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
}
.rpg-inventory-items {
font-size: clamp(0.4vw, 0.5vw, 0.6vw);
font-size: clamp(0.7vw, 0.5vw, 0.6vw);
color: var(--rpg-text);
line-height: 1.3;
overflow-y: auto;
@@ -2542,6 +2542,8 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
.rpg-dice-save-btn {
max-width: 200px;
margin-left: auto;
margin-right: auto;
}
}