From 30d9c4252ae398fc8aa6571f56ec6cf8eb968f0c Mon Sep 17 00:00:00 2001 From: Quentin Roussel Date: Sun, 28 Apr 2024 22:00:24 +0200 Subject: [PATCH] fixed image overflowing in admin page --- traque-front/components/admin/teamEdit.jsx | 35 +++++++++++----------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/traque-front/components/admin/teamEdit.jsx b/traque-front/components/admin/teamEdit.jsx index d7ac1a9..e8f845a 100644 --- a/traque-front/components/admin/teamEdit.jsx +++ b/traque-front/components/admin/teamEdit.jsx @@ -42,10 +42,9 @@ export default function TeamEdit({ selectedTeamId, setSelectedTeamId }) { } return (team && -
- -
-
+
+
+

Actions

@@ -55,10 +54,12 @@ export default function TeamEdit({ selectedTeamId, setSelectedTeamId }) { Rename
- updateTeam(team.id, { captured: !team.captured })}>{team.captured ? "Revive" : "Capture"} - Remove +
+ updateTeam(team.id, { captured: !team.captured })}>{team.captured ? "Revive" : "Capture"} + Remove +
-
+

Team details

Secret : {String(team.id).padStart(6, '0')}

@@ -77,18 +78,16 @@ export default function TeamEdit({ selectedTeamId, setSelectedTeamId }) {
-
-
-

Starting area

-
- updateTeam(team.id, { startingArea })} markerPosition={team?.currentLocation} /> -
+
+

Starting zone

+

Profile picture

+
+
+
+ updateTeam(team.id, { startingArea })} markerPosition={team?.currentLocation} />
-
-

Team photo

-
- -
+
+