We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b8e6f commit 5cad741Copy full SHA for 5cad741
src/containers/Type.js
@@ -495,7 +495,7 @@ const Type = (props) => {
495
<td colspan="18">
496
{DefenseType.filter((x) => x.on === true).map((item) => (
497
<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"}}>
+ <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"}}>
499
500
<img
501
src={icon[DefenseType.findIndex((x) => x.name == item.name)]}
0 commit comments