From 5fbcf1e20d6ba1cc40600ce94978ae8f40a1eb64 Mon Sep 17 00:00:00 2001 From: Ruslan Khayrullin Date: Thu, 9 Feb 2023 15:20:01 +0500 Subject: [PATCH] feat(in-263): return to full match after playing episodes --- src/features/MatchCard/styled.tsx | 3 +- .../components/FinishedMatch/helpers.tsx | 1 + .../components/FinishedMatch/hooks/index.tsx | 14 +++++- .../components/FinishedMatch/index.tsx | 4 ++ .../MatchPage/helpers/getHalfTime.tsx | 29 +++++------ src/features/MatchPage/store/hooks/index.tsx | 3 +- .../MatchPage/store/hooks/useStatsTab.tsx | 27 ++++------ .../components/Matches/index.tsx | 2 +- .../components/PlayersTable/styled.tsx | 2 +- .../components/TabEvents/styled.tsx | 1 + .../components/TabWatch/index.tsx | 2 +- .../components/TeamsStatsTable/styled.tsx | 2 +- src/features/MatchSidePlaylists/hooks.tsx | 2 +- src/features/MatchSidePlaylists/styled.tsx | 9 ++-- .../MultiSourcePlayer/hooks/index.tsx | 50 ++++++++++++++++++- src/features/MultiSourcePlayer/types.tsx | 1 + src/features/StreamPlayer/hooks/index.tsx | 34 +++++-------- 17 files changed, 119 insertions(+), 67 deletions(-) diff --git a/src/features/MatchCard/styled.tsx b/src/features/MatchCard/styled.tsx index 37bad8db..4c94755e 100644 --- a/src/features/MatchCard/styled.tsx +++ b/src/features/MatchCard/styled.tsx @@ -243,13 +243,14 @@ export const Team = styled.span` justify-content: space-between; align-items: center; font-weight: 600; - font-size: 13px; + font-size: 0.85rem; line-height: 1.14rem; color: #fff; ${({ isMatchPage }) => ( isMatchPage ? css` + font-size: 18px; line-height: 28px; ` : '' diff --git a/src/features/MatchPage/components/FinishedMatch/helpers.tsx b/src/features/MatchPage/components/FinishedMatch/helpers.tsx index 9639a342..46c5663d 100644 --- a/src/features/MatchPage/components/FinishedMatch/helpers.tsx +++ b/src/features/MatchPage/components/FinishedMatch/helpers.tsx @@ -69,6 +69,7 @@ const getFullMatchChapters = (videos: Array