Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

[Clean up] Route summary #347

Merged
merged 2 commits into from
Aug 23, 2019
Merged

Conversation

bbecquet
Copy link
Contributor

@bbecquet bbecquet commented Aug 22, 2019

Description

Remove some dead code in the route result rendering and make CSS more simpler and robust with flex instead of float/absolute positioning.

Why

Let's simplify things a bit before integrating public transports.
And it's great to get rid of all these floats, absolute and magic numbers.

Screens

No big changes, and things are better positioned and spaced (and it works great on IE11).

Before After
www qwant com_maps_routes__origin=latlon_48 86921_2 28543 destination=latlon_48 86135_2 27942 mode=driving(Pixel 2) localhost_3000_routes__origin=latlon_48 86921_2 28543 destination=latlon_48 86135_2 27942 mode=driving(Pixel 2)
Screenshot_2019-08-22 Qwant Maps(1) Screenshot_2019-08-22 Qwant Maps

@bbecquet bbecquet merged commit 776ed26 into Qwant:master Aug 23, 2019
@bbecquet bbecquet deleted the clean-up-route-css branch August 23, 2019 08:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants