Skip to content

Commit 5928e98

Browse files
committed
corrected font sizes in route selection
1 parent 1e2c3ab commit 5928e98

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/components/routes/SelectedRoute.jsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,22 @@ function SelectedRoute({ selectedRoute, hideMapOverlay }) {
3737
id="info-box"
3838
className="bg-zinc-100 dark:bg-zinc-700 rounded p-3 w-32 drop-shadow"
3939
>
40-
<label htmlFor="distance" className="block mb-5">
41-
<b>Distance</b>
42-
<br /> {selectedRoute.distance}
40+
<label htmlFor="distance" className="block mb-2">
41+
<b className="text-sm">Distance</b>
42+
<br />
43+
<span className="text-xl">{selectedRoute.distance}</span>
4344
</label>
4445
<label htmlFor="poi" className="block mb-2">
45-
<b>Afsnit</b> <br /> {selectedRoute.partcount}
46+
<b className="text-xs">Afsnit</b>
47+
<br />
48+
<span className="text-xl">{selectedRoute.partcount}</span>
4649
</label>
4750
{/* todo skeleton screen (I think I recall tailwind having these ootb) or some wait indication. https://tailwindcss.com/docs/animation#pulse */}
4851
{/* todo how to sum up podcasts */}
4952
<label htmlFor="length" className="block">
50-
<b>Afspilningstid</b> <br /> {selectedRoute.totalduration} min
53+
<b className="text-sm">Afspilningstid</b>
54+
<br />
55+
<span className="text-xl">{selectedRoute.totalduration} min</span>
5156
</label>
5257
</div>
5358
</div>

0 commit comments

Comments
 (0)