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: use anchor for map location dialog, compensate for padding issue #1578

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

tm-ruxandra
Copy link
Contributor

Description

The dialog box was set to not use an 'anchor' for its help icon, which caused it to show in the middle of the screen. I set the component to use default anchor element behavior. This caused a styling issue as a side-effect because non-anchored help boxes are styled differently than anchored ones. I compensated by changing the content to use equivalent styling.

Checklist

  • Corresponding issue has been opened
  • Verified on desktop

Related Issues

Fixes #1477

Verification steps

Begin creating a new story map. Click 'set map location' and verify that the info dialog is displayed at the expected position with the expected spacing.

Copy link
Member

@paulschreiber paulschreiber left a comment

Choose a reason for hiding this comment

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

This looks good to me. Waiting for @josebui's thoughts on if this approach makes sense.

@tm-ruxandra tm-ruxandra merged commit 5a07465 into main Mar 5, 2024
8 of 9 checks passed
@paulschreiber paulschreiber deleted the fix/map-dialog-position branch March 11, 2024 21:10
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.

On story maps location selection, info popover should be aligned to info button rather than to center
3 participants