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

Hotfix: Fix map layout #3016

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Hotfix: Fix map layout #3016

wants to merge 1 commit into from

Conversation

LeandraH
Copy link
Contributor

@LeandraH LeandraH commented Dec 3, 2024

Short description

We currently have the beautiful line width: ${props => (props.$fullWidth ? '100%' : dimensions.maxWidth - 2 * dimensions.toolbarWidth)}px; in our code which leads to the width: 100%px; when $fullWidth is true. Until merging #3004, that was not a problem (I assume it was overwritten somewhere but I honestly don't see it). After merging #3004, we have a slight layout issue here: https://webnext.integreat.app/augsburg/en/locations This PR fixes that.

Proposed changes

  • Puts the px where it belongs
  • Updates the max-width to account for the $fullWidth prop

Side effects

  • I hope no new ones!

Testing

Look at http://localhost:9000/testumgebung/de/locations in a desktop browser, compare it to https://webnext.integreat.app/augsburg/en/locations.

Copy link
Member

@steffenkleinle steffenkleinle left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix! Solves the problem for me, tested on firefox.

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.

2 participants