Skip to content

Commit 615d6cf

Browse files
committed
Call button only for mobile
1 parent 597d16d commit 615d6cf

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
@@ -171,7 +171,9 @@ export default function TransitPredictionsPage() {
171171
<span className="text-2xl">No predictions available at this time</span>
172172
) : (
173173
<div>
174-
{maybeRenderCallButton(stop.id)}
174+
<div className = "sm:hidden">
175+
{maybeRenderCallButton(stop.id)}
176+
</div>
175177
{stop.predictions
176178
.sort((a, b) => a.route.localeCompare(b.route))
177179
.map((prediction, predictionIndex) => (

0 commit comments

Comments
 (0)