-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the tab order of itineraries and the map #2325
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This almost works, but makes the order wrong on mobile. I think replacing flex-col
with flex-col-reverse
on the parent div
would do the trick.
Related: there's an md:order-last
on the map component, which I think you could remove now, since it's now DOM-ordered-last 😅
lib/dotcom_web/live/trip_planner.ex
Outdated
@results.itinerary_group_selection == nil && "hidden md:block", | ||
@results.itinerary_group_selection != nil && "block" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure we still want this logic, since we only want the map to show up if you're looking at a specific itinerary. (Unless that part of the design changed?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I missed something, we still don't want the map to render on mobile unless an itinerary is selected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗺️
https://app.asana.com/0/555089885850811/1209110864370903/f
I just changed the order of the elements in the DOM.