From 73512658a3465fc2ceb71e5c5b9b7de2cafde6e7 Mon Sep 17 00:00:00 2001 From: Cristen Jones Date: Fri, 27 Dec 2024 18:13:24 -0500 Subject: [PATCH] bonus: corrected submit button style in mobile --- lib/dotcom_web/components/trip_planner/input_form.ex | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/dotcom_web/components/trip_planner/input_form.ex b/lib/dotcom_web/components/trip_planner/input_form.ex index df4ed87f67..05f733695a 100644 --- a/lib/dotcom_web/components/trip_planner/input_form.ex +++ b/lib/dotcom_web/components/trip_planner/input_form.ex @@ -106,8 +106,12 @@ defmodule DotcomWeb.Components.TripPlanner.InputForm do <.icon type="icon-svg" name="icon-accessible-small" class="h-5 w-5" /> -
- <.button type="submit" phx-disable-with="Planning your trip..."> +
+ <.button + type="submit" + phx-disable-with="Planning your trip..." + class="w-full justify-center md:w-fit" + > Get trip suggestions