Skip to content

Commit

Permalink
fix(points): MD selector
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassimoen committed Dec 4, 2023
1 parent a68cb95 commit 7a79a2d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/components/MatchdaySelector/MatchdaySelectorStyle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const MatchdaySelectorStyle = styled.div`
display: flex;
align-items: center;
justify-content: space-between;
color: black;
`;

export const ButtonStyle = styled.a`
Expand Down
20 changes: 11 additions & 9 deletions src/pages/Points/Points.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,17 @@ export const _TeamPoints = (props: AbstractTeamType) => {
{
(initializedExternally && visibleWeekId &&
<Row style={{ margin: 0 }}>
<Col md={24}>
<MatchdaySelector
day={visibleWeekId}
max={deadlineWeek ? deadlineWeek : visibleWeekId}
min={1}
name={""}
onPrev={(e: any) => props.onDayChange(false)}
onNext={(e: any) => props.onDayChange(true)}
/>
<Col md={24} sm={24} xs={24}>
<Block>
<MatchdaySelector
day={visibleWeekId}
max={deadlineWeek ? deadlineWeek : visibleWeekId}
min={1}
name={""}
onPrev={(e: any) => props.onDayChange(false)}
onNext={(e: any) => props.onDayChange(true)}
/>
</Block>
</Col>
</Row>)
|| null
Expand Down

0 comments on commit 7a79a2d

Please sign in to comment.