Skip to content

Conversation

eliorivero
Copy link
Contributor

@eliorivero eliorivero commented Aug 16, 2019

This is so the bar is not displayed when the user hovers near the badge. One issue with this was for example that the OK button to consent to cookies is in the footer, and the badge overlapped it, so whenever someone wanted to click the OK button, the bar was unfolded.

Screen Shot 2019-08-16 at 15 49 15

Changes proposed in this Pull Request

  • remove padding so the bar isn't displayed when the mouse is near the badge and so it overlaps other controls as less as possible

Testing instructions

  • check that it works as before, and that if the mouse is near the badge but not exactly over the badge, the control bar is not displayed

… over the badge

This is so the bar is not displayed when the user hovers near the badge. One issue with this was for example that the OK button to consent to cookies is in the footer, and the badge overlapped it, so whenever someone wanted to click the OK button, the bar was unfolded.
@eliorivero eliorivero added [Type] Bug When a feature is broken and / or not performing as intended [Pri] Low Address when resources are available. [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Aug 16, 2019
@eliorivero eliorivero self-assigned this Aug 16, 2019
@matticbot
Copy link
Contributor

@eliorivero eliorivero requested a review from flootr August 16, 2019 18:54
@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

Copy link
Contributor

@Aurorum Aurorum left a comment

Choose a reason for hiding this comment

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

👍

Screenshot 2019-08-16 at 20 32 20

Copy link
Contributor

@flootr flootr left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@eliorivero eliorivero merged commit 92d6cf8 into master Aug 20, 2019
@eliorivero eliorivero deleted the update/environment-badge branch August 20, 2019 14:02
@matticbot matticbot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Low Address when resources are available. [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants