Skip to content

Commit 57bc3f1

Browse files
committed
- moved solved problems down, as that's non space constant part growing with amount of solved problems
1 parent 3a2f01d commit 57bc3f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/client/users/components/UserStats.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,6 @@ interface UserStatsProps {
127127

128128
const UserStats = (props: UserStatsProps) => {
129129
return <Col md={9}>
130-
<h4>Solved Problems</h4>
131-
<hr/>
132-
{solvedProblems(props.user, props.userStats)}
133-
<br/><br/>
134130
<h4>Rating</h4>
135131
<hr/>
136132
{highchartSolvedProblems(props.user, props.userStats, props.rankingStartDate)}
@@ -145,6 +141,10 @@ const UserStats = (props: UserStatsProps) => {
145141
titleForValue={titleForValue}
146142
tooltipDataAttrs={{'data-toggle': 'tooltip'}}
147143
/>
144+
<br/><br/>
145+
<h4>Solved Problems</h4>
146+
<hr/>
147+
{solvedProblems(props.user, props.userStats)}
148148
</Col>
149149
};
150150

0 commit comments

Comments
 (0)