diff --git a/client-next/src/components/SearchBar/DateInputField.tsx b/client-next/src/components/SearchBar/DateInputField.tsx index 42cec85b19c..0b0eca38869 100644 --- a/client-next/src/components/SearchBar/DateInputField.tsx +++ b/client-next/src/components/SearchBar/DateInputField.tsx @@ -31,7 +31,9 @@ export function DateInputField({ return ( - Date + + Date + ); diff --git a/client-next/src/components/SearchBar/DepartureArrivalSelect.tsx b/client-next/src/components/SearchBar/DepartureArrivalSelect.tsx index 0f55b29b5f2..b6a92cdd495 100644 --- a/client-next/src/components/SearchBar/DepartureArrivalSelect.tsx +++ b/client-next/src/components/SearchBar/DepartureArrivalSelect.tsx @@ -17,8 +17,11 @@ export function DepartureArrivalSelect({ return ( - Departure/Arrival + + Departure/Arrival + (e.target.value === 'arrival' ? onChange(true) : onChange(false))} value={tripQueryVariables.arriveBy ? 'arrival' : 'departure'} > diff --git a/client-next/src/components/SearchBar/LocationInputField.tsx b/client-next/src/components/SearchBar/LocationInputField.tsx index 424219df14f..ffa66702e81 100644 --- a/client-next/src/components/SearchBar/LocationInputField.tsx +++ b/client-next/src/components/SearchBar/LocationInputField.tsx @@ -5,7 +5,9 @@ import { Location } from '../../gql/graphql.ts'; export function LocationInputField({ location, id, label }: { location: Location; id: string; label: string }) { return ( - {label} + + {label} + - +
+ +
); diff --git a/client-next/src/components/SearchBar/SearchWindowInput.tsx b/client-next/src/components/SearchBar/SearchWindowInput.tsx index 69f439e9962..22ffe865cbc 100644 --- a/client-next/src/components/SearchBar/SearchWindowInput.tsx +++ b/client-next/src/components/SearchBar/SearchWindowInput.tsx @@ -10,13 +10,17 @@ export function SearchWindowInput({ }) { return ( - Search window (seconds) + + Search window + setTripQueryVariables({ ...tripQueryVariables, diff --git a/client-next/src/components/SearchBar/TimeInputField.tsx b/client-next/src/components/SearchBar/TimeInputField.tsx index b5a95822ef4..71bb7325340 100644 --- a/client-next/src/components/SearchBar/TimeInputField.tsx +++ b/client-next/src/components/SearchBar/TimeInputField.tsx @@ -30,7 +30,9 @@ export function TimeInputField({ return ( - Time + + Time + ); diff --git a/client-next/src/style.css b/client-next/src/style.css index 158946133db..9936ea3e2a1 100644 --- a/client-next/src/style.css +++ b/client-next/src/style.css @@ -15,6 +15,11 @@ padding-left: 1rem; } +.search-bar-route-button-wrapper { + height: 5rem; + padding-top: 2rem; +} + .itinerary-list-container { width: 36rem; height: calc(100vh - 200px);