-
Notifications
You must be signed in to change notification settings - Fork 2k
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
A4A: Fix inconsistency with header spacing. #94992
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
title, | ||
wide, | ||
withBorder, | ||
compact, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we are standardizing the spacing for all our headers, there is no longer a need for the compact variant in our layout.
/* FIXME: This is a temporary fix to make the referral | ||
* layout columns the same height | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint is complaining about the maximum line length. I have to split it. though not related to the main goal of the PR
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~23 bytes removed 📉 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now, all the header sections are consistent.
As Tiago already said, in the Overview section, the content top padding seems small.
Other than that LGTM!
a0aa6bd
to
0cadafb
Compare
Thanks. The Overview section top padding has been fixed along with other pages. |
0cadafb
to
5ed6a6a
Compare
This pull request standardizes the spacing in the A4A header layout. We have a couple of pages with different spacing, causing our page content to shift a lot. Example is the Overview page.
Closes https://github.com/Automattic/automattic-for-agencies-dev/issues/805
Proposed Changes
Why are these changes being made?
Testing Instructions
Pre-merge Checklist