Module:GameInfo/styles.css: Difference between revisions
From SpiritVale Wiki
More actions
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 427: | Line 427: | ||
/* Left cluster (damage + attributes) centered as a unit */ | /* Left cluster (damage + attributes) centered as a unit */ | ||
.sv_skill_scaling__cluster { | .sv_skill_scaling__cluster{ | ||
grid-column:1; | |||
grid-row:1; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; /* center damage + stat grid */ | |||
gap:14px; | |||
flex-wrap:wrap; | |||
/* KEY: shrink-to-fit + center in the grid cell */ | |||
width:auto; /* <-- NOT 100% */ | |||
max-width:100%; | |||
margin-left:auto; | |||
margin-right:auto; | |||
min-width:0; | |||
} | } | ||