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
"Edit in Analytics" and "Edit in Tag Manager" settings links lack visual whitespace due to HTML markup #7968
Comments
👍 @tofumatt I think we can avoid the need for adding the |
@aaemnnosttv Nice, yeah, looks like that does the trick 👍🏻 |
IB ✅ moving to CR |
QA Update: ❌@tofumatt I have just noticed that the link text and icon aren't aligned with the text. It's only slightly off but noticeable. |
@wpdarren ready for another look 👍 |
Mmm, yes, those Edit links were working before, so it seems a regression. |
Please found all issues details below with description and screenshots cc @wpdarren @kuasha420 @bethanylang @aaemnnosttv @eclarke1 1) Main dashboard and entity dashboard > All Traffic widget> text moved to next line. 2) Key metrics widget > 'Change metrics' button SVG is not aligned properly with text on main. 3) User Input Customize site goals screen and under settings - No Space between icon and edit label. 4) Key metrics :Ellipsis are missing on main environment for KM "Most engaging pages" widget and similar widgets. 5) The icon against the URL on the entity dashboard is misaligned again. This was fixed previously. 6) Source CTA svg icons are not looking bold now on main. I noticed that for svg icons we have different is getting apply on main which is not the case on latest. This same issue exist wherver we are using this icon like under notifications, Settings page >Connected services, Admin Settings> tracking services, main and entity dashboard, Settings> Connected Services> Analytics. 7) Connected Services > Arrows under green circle are not center aligned on main. 8) Connected services> Disconnect buttons for all modules are not aligned properly. 9) Settings> Connected Services> 'Edit' icons for all modules not aligned with the text. 10) Settings> Connect More Services > Set up arrow is not aligned with the text. 11) The Edit links for Analytics and Tag Manager settings are slightly misaligned. |
For context, the change to I'm going to mark which of these are totally fixed and which are either issues for a follow-up, acceptable changes, etc. here. (Currently a WIP, don't reply yet 😄)
|
QA Update:
|
QA Update ✅@wpdarren Tested all the points and all issues are fixed. The issue you highlighted is basically a part of point 6 because we are using same icons here and now these icons are not bold on main environment after new changes. For 6 @tofumatt replied that it is intended. Other issues are fixed now.
|
Bug Description
The "Edit in" links for Analytics recently had their
display
changed toinline-flex
, preventing the whitespace from rendering properly, leading to the text looking like "Editin Analytics".The same is likely true for Tag Manager, as the HTML markup is the same.
Steps to reproduce
Screenshots
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
The issue will apply to any link with
<VisuallyHidden>
content, as the recent change todisplay: inline-flex;
causes the whitespace around the<VisuallyHidden />
component to be "squashed"..googlesitekit-cta-link
fromdisplay: inline-flex;
todisplay: inline-block;
vertical-align: text-bottom;
to.googlesitekit-cta-link .googlesitekit-icon-wrapper
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: