Skip to content

Commit 5cad741

Browse files
committed
change max defense to 3
1 parent 16b8e6f commit 5cad741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/Type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ const Type = (props) => {
495495
<td colspan="18">
496496
{DefenseType.filter((x) => x.on === true).map((item) => (
497497
<span>
498-
<Button variant="contained" color="success" sx={{width: DefenseType.filter((x) => x.on === true).length === 1 ? "100%" : DefenseType.filter((x) => x.on === true).length === 2 ? "49.5%" : "33%", margin: "1px"}}>
498+
<Button variant="contained" color="success" sx={{width: DefenseType.filter((x) => x.on === true).length === 1 ? "100%" : DefenseType.filter((x) => x.on === true).length === 2 ? "49%" : "32.5%", margin: "1px"}}>
499499

500500
<img
501501
src={icon[DefenseType.findIndex((x) => x.name == item.name)]}

0 commit comments

Comments
 (0)