Skip to content

Commit f3520ef

Browse files
committed
Call button only for mobile
1 parent 79939be commit f3520ef

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

frontend/src/TransitPredictionsPage.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ export default function TransitPredictionsPage() {
155155
<span className="text-2xl">No predictions available at this time</span>
156156
) : (
157157
<div>
158-
{maybeRenderCallButton(stop.id)}
158+
<div className = "sm:hidden">
159+
{maybeRenderCallButton(stop.id)}
160+
</div>
159161
{stop.predictions
160162
.sort((a, b) => a.route.localeCompare(b.route))
161163
.map((prediction, predictionIndex) => (

0 commit comments

Comments
 (0)