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

Fix layout of attribution control #7608

Merged
merged 1 commit into from
Nov 21, 2018
Merged

Fix layout of attribution control #7608

merged 1 commit into from
Nov 21, 2018

Conversation

lucaswoj
Copy link
Contributor

Hello friends! 👋

This PR fixes #7589 by replacing the multiple <p> elements within the attribution control with a single inner <div>.

Note that #7589 was worse than reported because source attributions were not wrapped in <p> elements like the customAttributions were.

nov-21-2018 08-41-10

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • manually test the debug page

Copy link
Member

@mourner mourner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to see a PR from you Lucas! Thanks!

@mourner mourner merged commit 0b04c72 into mapbox:master Nov 21, 2018
@ChrisLoer
Copy link
Contributor

👋 Thanks Lucas!

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.

Custom attribution strings have additional <p> tags causing layout problems (v0.51.0)
3 participants