more responsive design for characteristics
This commit is contained in:
+3
-2
@@ -392,7 +392,7 @@ const ModelStats = ({
|
|||||||
<Characteristic title="SV" characteristic={save} index={index} />
|
<Characteristic title="SV" characteristic={save} index={index} />
|
||||||
<Characteristic title="W" characteristic={wounds} index={index} />
|
<Characteristic title="W" characteristic={wounds} index={index} />
|
||||||
<Characteristic title="LD" characteristic={leadership} index={index} />
|
<Characteristic title="LD" characteristic={leadership} index={index} />
|
||||||
|
<div>
|
||||||
{showName && (
|
{showName && (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
@@ -407,7 +407,7 @@ const ModelStats = ({
|
|||||||
{showWeapons && (
|
{showWeapons && (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
marginTop: index === 0 ? 16 : 0,
|
marginTop: index === 0 && !showName ? 16 : 0,
|
||||||
marginLeft: -10,
|
marginLeft: -10,
|
||||||
fontSize: "0.7em",
|
fontSize: "0.7em",
|
||||||
}}
|
}}
|
||||||
@@ -431,6 +431,7 @@ const ModelStats = ({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user