Skip to content

Commit

Permalink
fix(other): recap mobile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sunehs committed Jan 2, 2025
1 parent 18e3409 commit 570468d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/Chart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ export const ChartCon = styled.div`
height: 400px;
width: 600px;
z-index: 1;
@media (max-width: 599px) {
width: 100%;
}
`;

export const WideChartCon = styled.div`
Expand Down
2 changes: 1 addition & 1 deletion src/pages/recap/OverTime.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const charts = [
{
type: 'line',
fields: ['AveragePlayedDuration'],
name: 'Palyed battle duration',
name: 'Played battle duration',
func: int,
isPersonal: true,
},
Expand Down
2 changes: 2 additions & 0 deletions src/pages/recap/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,8 @@ export const Img = styled.img`
z-index: 0;
margin-top: auto;
margin-bottom: auto;
max-width: 100%;
object-fit: cover;
${p => p.top && 'top: 0;'}
${p => p.bottom && 'bottom: 0;'}
${p => p.opacity && 'opacity: 0.8;'}
Expand Down

0 comments on commit 570468d

Please sign in to comment.