Skip to content
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

hidden 'make report' instructions on mobile devices #101

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

danwillett
Copy link
Contributor

@danwillett danwillett commented Sep 27, 2023

Problem
For mobile users, the instructions creating a report by tapping twice is mostly hidden at the top of the map.

Solution
I edited the styling for the tip-msg class in common.css file in the mapApp/css folder. The styling for the banner was set to have an absolute position 60px from the top of the screen. I changed this value to 80px which now makes the instruction banner fully visible.

I also fixed the bootstrap classname of directions element from ".alert-dismissable" to ".alert-dismissible" which now adds extra padding to the element's close button.

Testing

Open the staging server on your phone, where this branch is now deployed as of 09/27/2023. You can also open up the staging server on your computer, open up the inspector, and change the device view. Make sure to clear your browser cache after resetting the device view.

You should see a blue banner with instructions and a close button. Clicking the close button should remove the instructions.

Screen Shot 2023-09-27 at 3 18 50 PM

…ow message telling mobile users to 'double click' to add a new report
@danwillett danwillett changed the title changed tip-msg class in mapApp/static/mapApp/common.css to better sh… hidden 'make report' instructions on mobile devices Sep 27, 2023
@danwillett danwillett merged commit df89476 into develop Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant