From 0fd693aa4237ff6a31ce57126a0bee7dd6d37ad7 Mon Sep 17 00:00:00 2001 From: Michel ten Voorde Date: Sat, 4 Oct 2025 22:40:51 +0200 Subject: [PATCH] Layout fixes --- .../team-display/team-display.component.ts | 7 +- .../tournament-manage.component.html | 92 ++++++++++--------- .../tournament-manage.component.scss | 3 + 3 files changed, 57 insertions(+), 45 deletions(-) diff --git a/src/app/components/team-display/team-display.component.ts b/src/app/components/team-display/team-display.component.ts index 2a9ce7f..5b3757f 100644 --- a/src/app/components/team-display/team-display.component.ts +++ b/src/app/components/team-display/team-display.component.ts @@ -16,7 +16,11 @@ import {Team} from "../../model/team"; @if (event.doublesEvent && team.player2) { - / + @if (this.inline) { + / + } @else { +
+ } {{ this.activeMatches().length }} } +
+ @if (this.activeMatches().length > 0) { +
- @if (this.activeMatches().length > 0) { -
- - @for (activeMatch of this.activeMatches(); track activeMatch.match.id) { - - -
Baan {{ activeMatch.match.court }}
-
- - + @for (activeMatch of this.activeMatches(); track activeMatch.match.id) { + + +
Baan {{ activeMatch.match.court }}
+
+ + +
+
-
+
+ + +
+
{{ activeMatch.group.name }} {{ activeMatch.round.name }}
+
+
+
+
Teller: {{ activeMatch.match.counter | fullName }}
+
+
Starttijd: {{ activeMatch.match.startTime | date: 'HH:mm' }}
+
Duur: {{ getDuration(activeMatch.match.startTime) | date: 'mm:ss' }}
-
-
-
- - -
-
{{ activeMatch.group.name }} {{ activeMatch.round.name }}
- -
-
Teller: {{ activeMatch.match.counter | fullName }}
-
-
Starttijd: {{ activeMatch.match.startTime | date: 'HH:mm' }}
-
Duur: {{ getDuration(activeMatch.match.startTime) | date: 'mm:ss' }}
-
- - - - -
-
+ + + + + +
+ } + } @else { +
Geen actieve wedstrijden
} - } @else { -
Geen actieve wedstrijden
- } +
} @if (tournament.status == 'ONGOING' || tournament.status == 'DRAWN') { diff --git a/src/app/components/tournament-manage/tournament-manage.component.scss b/src/app/components/tournament-manage/tournament-manage.component.scss index d4e93ab..779e455 100644 --- a/src/app/components/tournament-manage/tournament-manage.component.scss +++ b/src/app/components/tournament-manage/tournament-manage.component.scss @@ -39,3 +39,6 @@ td.w-fill { z-index: 1000 !important; } +.tab-content-wrapper { + margin: 0 4px 0 4px; +}