Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Join the Playtest on Steam Now: SpiritVale

Module:GameInfo/styles.css: Difference between revisions

From SpiritVale Wiki
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-column:1;
    grid-row: 1;
  grid-row:1;
    display: flex;
 
    align-items: center;
  display:flex;
    justify-content: center;
  align-items:center;
    justify-self:center;
  justify-content:center; /* center damage + stat grid */
    align-content: center;
  gap:14px;
    gap: 14px;
 
    flex-wrap: wrap;
  flex-wrap:wrap;
    width: 100%;
 
    min-width: 0;
  /* 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;
}
}