-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(cxl-ui): cxl-section - implement hero section design facelift #365
Conversation
6e02e47
to
a245374
Compare
a245374
to
9885b81
Compare
size-limit report 📦
|
9885b81
to
f23d523
Compare
Task linked: CU-86ayraehj Front-end bit of nav bar facelift |
By "Header", are we really meaning "Hero" here? "Header" is the part where navigation lives. |
|
||
&::before { | ||
right: 47%; | ||
height: 60%; |
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.
Rather random percentages, but I hope they were thoroughly considered.
Also, was max-height ever discussed?
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.
Yes, @heshfekry and I tested them during a call, to try matching them to the design. However, those values have since indeed changed, to improve visual balance and make the hero image more prominent.
You're are right, max-height
would have worked fine in a more conventional scenario, but relying on dynamic values made it easier to handle responsiveness without adding several break points, and aligning the bottom of the element with the bottom of the image.
936b9e9
to
d38bed6
Compare
In the latest commit , I set up a way to avoid having to go through each page in the block editor to apply the update.
This is not ideal, by any means, but it's the least changes required, given we already have a lot going on in the code base and in wordpress. Were this being done from scratch, |
d38bed6
to
a19be96
Compare
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.
4cd9514
to
0ea19e3
Compare
0ea19e3
to
ea5e829
Compare
No description provided.