File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,22 @@ function SelectedRoute({ selectedRoute, hideMapOverlay }) {
37
37
id = "info-box"
38
38
className = "bg-zinc-100 dark:bg-zinc-700 rounded p-3 w-32 drop-shadow"
39
39
>
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 >
43
44
</ label >
44
45
< 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 >
46
49
</ label >
47
50
{ /* todo skeleton screen (I think I recall tailwind having these ootb) or some wait indication. https://tailwindcss.com/docs/animation#pulse */ }
48
51
{ /* todo how to sum up podcasts */ }
49
52
< 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 >
51
56
</ label >
52
57
</ div >
53
58
</ div >
You can’t perform that action at this time.
0 commit comments