Skip to content

Commit 369e059

Browse files
authored
fix(client): heatmap button size (freeCodeCamp#59576)
1 parent 34c38f3 commit 369e059

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

client/src/components/profile/components/heat-map.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ class HeatMapInner extends Component<HeatMapInnerProps, HeatMapInnerState> {
146146
/>
147147
<ReactTooltip className='react-tooltip' effect='solid' html={true} />
148148
<Row className='text-center'>
149+
<Spacer size='xs' />
149150
<button
150151
className='heatmap-nav-btn'
151152
disabled={!pages[this.state.pageIndex - 1]}
@@ -170,7 +171,7 @@ class HeatMapInner extends Component<HeatMapInnerProps, HeatMapInnerState> {
170171
&gt;
171172
</button>
172173
</Row>
173-
<Spacer size='m' />
174+
<Spacer size='xs' />
174175
</section>
175176
</FullWidthRow>
176177
);

client/src/components/profile/components/heatmap.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.heatmap-nav-btn {
22
margin: 0 20px;
3+
width: 44px;
4+
height: 44px;
35
}
46

57
.react-calendar-heatmap-month-label {

0 commit comments

Comments
 (0)