Skip to content

Commit 2883f1f

Browse files
committed
fix repositioning
1 parent 36a690c commit 2883f1f

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/components/LeftPane.jsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,7 @@ const LeftPane = ({ selectedHour, onTimeChange, activity }) => {
135135
textAlign: 'center'
136136
}}
137137
>
138-
{/* TIMER SELECTOR SECTION */}
139-
<div style={{ width: '200px', margin: '0 auto' }}>
140-
<div style={{ display: 'flex', alignItems: 'center', gap: '20px' }}>
141-
<span style={{ fontSize: '14px' }}>Start</span>
142-
<FancySlider min={9} max={21} step={1} value={selectedHour} onChange={onTimeChange} />
143-
<span style={{ fontSize: '14px' }}>End</span>
144-
</div>
145-
</div>
138+
146139
{/* ACTIVITY SHOWCASE SECTION */}
147140
<div>
148141
<div
@@ -163,6 +156,14 @@ const LeftPane = ({ selectedHour, onTimeChange, activity }) => {
163156
The user is <b>{activity.charAt(0).toLowerCase() + activity.slice(1)}</b>
164157
</p>
165158
</div>
159+
{/* TIMER SELECTOR SECTION */}
160+
<div style={{ width: '200px', margin: '0 auto' }}>
161+
<div style={{ display: 'flex', alignItems: 'center', gap: '20px' }}>
162+
<span style={{ fontSize: '14px' }}>Start</span>
163+
<FancySlider min={9} max={21} step={1} value={selectedHour} onChange={onTimeChange} />
164+
<span style={{ fontSize: '14px' }}>End</span>
165+
</div>
166+
</div>
166167

167168
</div>
168169
);

0 commit comments

Comments
 (0)