Fix div overlapping link making it unclickable. #71965
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Prior to this PR, there was a div that was overlapping the "licensing activation banner" in which there is a link that says, "Activate it now" that was not working because the overlapping div stacking context was covering up the link and preventing any pointer events on the link.
A quick fix is just a 1 liner CSS property/value, adding css:
pointer-events: none;
to the<div class="header__content-wrapper"> ... </div>
(the div that is overlapping the licensing activation banner)Asana task: 1203495437860512-as-1203698368270970/f
Testing Instructions
Prerequisites:
Test
/pricing/:site
(:site
is the site-slug of a jetpack site you own, or a Jurassic Ninja site you created and connected.) (This is probably the quickest and easiest way to test this PR).git fetch && git checkout fix/div-overlapping-links
yarn start-jetpack-cloud
(it takes a little while to build the application):site
is the site-slug of a jetpack site you own, or a Jurassic Ninja site you created and connected.)https://cloud.jetpack.com/pricing/:site
(Make sure you are proxied and logged in to your wordpress.com account). You're going to preform the same steps as above (except this time on the regular https://cloud.jetpack.com website in the "Staging" environment (logged-in A18N using the A8C Proxy):site
is the site-slug of a jetpack site you own (or Jurassic Ninja site)).Pre-merge Checklist