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: Better SZ tooltip positioning #782

Merged
merged 2 commits into from
Jul 17, 2023
Merged

Conversation

idreyn
Copy link
Contributor

@idreyn idreyn commented Jul 17, 2023

Motivation

Resolves #573 and #687

Changes

This changes moves the SZ tooltip to the left side of the map when there's more real estate for it there (e.g. on the Braintree branch). It also makes sure the tooltip is never hidden by the left-hand sidebar. I kept the tooltip beneath the mobile bottom controls, though — seems better; just scroll.

Testing Instructions

Check the tooltip rendering for the Red Line map on both desktop and mobile.

@idreyn idreyn linked an issue Jul 17, 2023 that may be closed by this pull request
@github-actions github-actions bot added the frontend Change to frontend code label Jul 17, 2023
@idreyn idreyn changed the title fix: Make sure SZ tooltip doesn't resize viewport fix: Better SZ tooltip positioning Jul 17, 2023
@idreyn idreyn linked an issue Jul 17, 2023 that may be closed by this pull request
Copy link
Member

@devinmatte devinmatte left a comment

Choose a reason for hiding this comment

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

LGTM

@devinmatte devinmatte added this to the Dashboard V4 milestone Jul 17, 2023
@idreyn idreyn merged commit e42e30a into dashboard-v4 Jul 17, 2023
5 checks passed
@idreyn idreyn deleted the idr/sz-tooltip-fixes branch July 17, 2023 01:36
@devinmatte devinmatte added the v4 label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Change to frontend code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Slow zone map popover behind navbar Slow zone map shifting on mobile
2 participants