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

More CSS cleanups #2709

Merged
merged 8 commits into from Jul 15, 2020
Merged

Conversation

gravitystorm
Copy link
Collaborator

This PR contains several CSS cleanups.

The main theme is continuing the work of disentangling the small screen stuff (which should be done with media breakpoints or builtin bootstrap functionality) from the navigation bar changes (which is based on the length of the text in the menus, not on the screen size).

Various other changes were found during this work too.

…not the menu state

Also reworks to be mobile-first
This is the default anyway, and we don't need this for anything specific.
Ideally this would be refactored to be mobile-first, but is likely
to be replaced by more general bootstrap form refactoring anyway.
This makes it clearer that the classes are only for navigation menu
matters. Other things should be done on media queries, or ideally,
using bootstrap components like grids.

This has a side effect of removing the smaller font size from the
body when the navigation menu is in the small-nav state.
Images have no border in modern browsers, and bootstrap's reset also
sets this.
@tomhughes tomhughes merged commit 5cc4e93 into openstreetmap:master Jul 15, 2020
@gravitystorm gravitystorm deleted the css_cleanup_2 branch July 17, 2020 08:18
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

2 participants