diff --git a/app/components/tournament/DuringMatchActions.tsx b/app/components/tournament/DuringMatchActions.tsx index 43b8d114d..f974653d1 100644 --- a/app/components/tournament/DuringMatchActions.tsx +++ b/app/components/tournament/DuringMatchActions.tsx @@ -24,9 +24,7 @@ export function DuringMatchActions({ const [, parentRoute] = useMatches(); const { teams, seeds } = parentRoute.data as FindTournamentByNameForUrlI; const [joinedRoom, setJoinedRoom] = useState( - true || - (currentMatch.score?.[0] ?? 0) > 0 || - (currentMatch.score?.[1] ?? 0) > 0 + (currentMatch.score?.[0] ?? 0) > 0 || (currentMatch.score?.[1] ?? 0) > 0 ); const opponentTeam = teams.find( @@ -94,8 +92,10 @@ export function DuringMatchActions({ return ( -

Opponent: {opponentTeam.name}

-
    +

    + Opponent: {opponentTeam.name} +

    +
    1. Add FC: {friendCodeToAdd}
    2. {weHost ? (
    3. diff --git a/app/components/tournament/EliminationBracket.tsx b/app/components/tournament/EliminationBracket.tsx index 201c6e6c3..7365618a1 100644 --- a/app/components/tournament/EliminationBracket.tsx +++ b/app/components/tournament/EliminationBracket.tsx @@ -169,7 +169,7 @@ export function Match({ {match.participants?.[0]}{" "} {match.score?.[0] ?? 0} @@ -190,7 +190,7 @@ export function Match({ {match.participants?.[1]}{" "} {match.score?.[1] ?? 0} diff --git a/app/routes/to/$organization.$tournament/manage-roster.tsx b/app/routes/to/$organization.$tournament/manage-roster.tsx index dfcac5528..66e3f5adb 100644 --- a/app/routes/to/$organization.$tournament/manage-roster.tsx +++ b/app/routes/to/$organization.$tournament/manage-roster.tsx @@ -217,7 +217,7 @@ export default function ManageRosterPage() { -
      +
      -
      -
      +
      -
      diff --git a/app/routes/to/$organization.$tournament/seeds.tsx b/app/routes/to/$organization.$tournament/seeds.tsx index 83e52fb96..67b7ff5d6 100644 --- a/app/routes/to/$organization.$tournament/seeds.tsx +++ b/app/routes/to/$organization.$tournament/seeds.tsx @@ -169,7 +169,7 @@ export default function SeedsTab() { "sortable", { disabled: transition.state !== "idle", - "visibility-hidden": activeTeam?.id === team.id, + invisible: activeTeam?.id === team.id, } )} > diff --git a/app/routes/to/$organization.$tournament/start.tsx b/app/routes/to/$organization.$tournament/start.tsx index 14dd02255..1919db342 100644 --- a/app/routes/to/$organization.$tournament/start.tsx +++ b/app/routes/to/$organization.$tournament/start.tsx @@ -122,7 +122,7 @@ export default function StartBracketTab() { }; return ( -
      + component */ + margin-block-end: 0 !important; + margin-inline-start: var(--s-2); +} + .tournament__manage-roster__input__button { margin-block-start: var(--s-4); }