fix(ui): make info box compact to give stats section more space
Changed .rpg-info-section from flex: 1 to flex: 0 0 auto so it only takes the vertical space needed by its content (calendar/weather/ location widgets) rather than expanding equally with other sections. Previously, all .rpg-section elements had flex: 1, causing them to equally share vertical space. This forced the info box to expand beyond its content needs, creating excessive bottom padding. With this change: - Info box is now compact (no wasted space) - Stats section expands to fill more vertical space - Overall layout is more balanced with stats getting priority
This commit is contained in:
@@ -978,7 +978,7 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
|
|||||||
border-radius: 0.75em;
|
border-radius: 0.75em;
|
||||||
padding: 0.375em;
|
padding: 0.375em;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
flex: 1;
|
flex: 0 0 auto;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user