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: fix misaligned tooltip #609

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

xming13
Copy link
Contributor

@xming13 xming13 commented Sep 19, 2020

Problem

Closes #602

Solution

The misaligned tooltip is due to the tooltip content taking up the table cell's width as illustrated in the image below. Restructure the html and wrap the tooltip content with an inline-block div fixes the issue.
image

Before & After Screenshots

BEFORE:
image

AFTER:
image

Copy link
Contributor

@LoneRifle LoneRifle left a comment

Choose a reason for hiding this comment

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

lgtm

@LoneRifle LoneRifle merged commit 29bf206 into opengovsg:develop Sep 21, 2020
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.

Misaligned tooltip for click stats
2 participants