diff --git a/client/src/components/EventChart.vue b/client/src/components/EventChart.vue index 4d7e9c0..fd1bd43 100644 --- a/client/src/components/EventChart.vue +++ b/client/src/components/EventChart.vue @@ -566,6 +566,15 @@ function friendlyEventName(eventType: string): string { text-align: center; } +/* Place the group total just next to the title */ +.ratio-card .card-header { + justify-content: flex-start; + gap: 8px; +} +.ratio-card .group-total { + margin-left: 6px; +} + .ratio-bar { position: relative; height: 60px; diff --git a/client/src/components/EventFilters.vue b/client/src/components/EventFilters.vue index a32eed5..8e35772 100644 --- a/client/src/components/EventFilters.vue +++ b/client/src/components/EventFilters.vue @@ -5,8 +5,8 @@
@@ -106,7 +106,7 @@ :event-styles="EVENT_STYLES" :global-event-counts="combinedGlobalCounts" :player-event-counts="combinedPlayerCounts" - :selected-player-uuid="selectedUuid" + :selected-player-uuid="selectedUuids.length ? selectedUuids[0] : ''" :player-bar-gradient="playerBarGradient" view-mode="ratio" :loading="loading" @@ -201,21 +201,18 @@ const allPlayersWithScores = ref