Skip to content

Commit 733cea1

Browse files
committed
Minor fixes to mobile display for buttons
1 parent ed6f5c4 commit 733cea1

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

app/page.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ export default function FirstPost() {
469469

470470
<div className={styles.taskButtonRow}>
471471
<button
472+
className={styles.taskButtonRow}
472473
onClick={() => setSelectedDroid('droid_1')}
473474
style={{
474475
padding: '0.4rem 0.8rem',
@@ -482,10 +483,11 @@ export default function FirstPost() {
482483
transition: 'all 0.2s ease'
483484
}}
484485
>
485-
Seen Tasks<div className={styles.taskButtonRow}></div>
486+
Seen Tasks
486487
</button>
487488

488489
<button
490+
className={styles.taskButtonRow}
489491
onClick={() => setSelectedDroid('droid_2')}
490492
style={{
491493
padding: '0.4rem 0.8rem',
@@ -611,7 +613,7 @@ export default function FirstPost() {
611613
justifyContent: 'center'
612614
}}>
613615
<div className={styles.responsiveVideoWrapper}>
614-
<h3 style={{ textAlign: 'center', marginBottom: '0.5rem', marginTop: '-2rem' }}>
616+
<h3 style={{ textAlign: 'center', marginBottom: '0.5rem', marginTop: '-1rem' }}>
615617
{selectedCombinedVideo.label}: 10 consecutive evaluations | {selectedCombinedVideo.progress}
616618
</h3>
617619
<div className={styles.responsiveVideoInner}>

styles/Home.module.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,6 +2099,7 @@
20992099
display: flex;
21002100
flex-wrap: wrap;
21012101
justify-content: center;
2102+
align-items: center;
21022103
gap: 0.5rem;
21032104
margin-top: 1rem;
21042105
}
@@ -2151,6 +2152,7 @@
21512152
.taskButtonRow {
21522153
gap: 0.4rem;
21532154
padding: 0 0.5rem;
2155+
margin-bottom: .25rem;
21542156
}
21552157

21562158
.taskButtonRow button {
@@ -2171,6 +2173,7 @@
21712173
.taskButtonRow button {
21722174
font-size: 0.7rem !important;
21732175
padding: 0.3rem 0.5rem !important;
2176+
margin-bottom: .25rem;
21742177
}
21752178
}
21762179

0 commit comments

Comments
 (0)