diff --git a/src/10th/Roster.jsx b/src/10th/Roster.jsx index 2fcbddc..63af7fa 100644 --- a/src/10th/Roster.jsx +++ b/src/10th/Roster.jsx @@ -190,6 +190,7 @@ const Unit = ({ unit, index, catalog, onePerPage, forceRules }) => {
{ {cost.points}pts
- -
- {modelStats.map((model, index) => ( - 1} - /> - ))} +
+
+ {modelStats.map((model, index) => ( + 1} + /> + ))} +
+ {modelStats?.[0] && ( +
1 ? "" : "self-center" + }`} + style={{ + fontSize: "0.7em", + }} + > + {modelList.map((model, index) => ( +
{model}
+ ))} +
+ )}
{ wounds = "/"; } - const showWeapons = index === 0; return (
@@ -462,26 +475,17 @@ const ModelStats = ({ modelStat, index, showName, modelList }) => { -
- {showName &&
{name}
} - {showWeapons && ( -
- {modelList.map((model, index) => ( -
{model}
- ))} -
- )} -
+ {showName && ( +
+
{name}
+
+ )}
); };