Module:HeroData: Difference between revisionsGive feedback
m icon color dynamic to category |
m centering style for left column |
||
| Line 153: | Line 153: | ||
-- First add localized stat name for left column | -- First add localized stat name for left column | ||
stat_values[category] = stat_values[category] .. ',<span style="color: #999999; background-color: #2F2F2F;">' .. label .. '</span>' | stat_values[category] = stat_values[category] .. ',<span style="color: #999999; background-color: #2F2F2F; display: inline-flex; width: 100%; height: 100%; justify-content: center; align-items: center;">' .. label .. '</span>' | ||
-- Then add icon and stat value for right column | -- Then add icon and stat value for right column | ||