-
Notifications
You must be signed in to change notification settings - Fork 0
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(header): L3-4326 updated spacing and search click #408
Conversation
✅ Deploy Preview for phillips-seldon ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Why are we removing the space between the language selector and the main nav list? I remember being explicitly told to add this in. Was the figma for the mobile nav updated?
@@ -69,6 +69,10 @@ | |||
margin-bottom: 0; | |||
} | |||
|
|||
a { | |||
display: inline; |
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.
This should probably be inline-block. Unless this is to shrink the clickable area
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.
Looking on mobile, I think we may want to add a media query to only apply this to desktop sizes. I think on mobile the expectation would be to have the whole menu bar be clickable, no?
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.
@constantinehuzenko Was this added explicitly for mobile? I think the expectation on mobile would be that the whole line would be the link and not jsut the texts, because of how we have styled it.
On desktop I would make it inline-block. Also the LI seems to be inline
. That should be made to be inline-block too or removed all together .
As Alex mentioned, there is spacing in between the language selector and the last link as shown in the figma https://www.figma.com/design/hMu9IWH5N3KamJy8tLFdyV/EASEL-Compendium%3A-Tokens%2C-Components-%26-Patterns?node-id=10572-6185&node-type=canvas&m=dev |
Ryan approved that we shouldn't add space there |
@@ -69,6 +69,12 @@ | |||
margin-bottom: 0; | |||
} | |||
|
|||
a { | |||
@include isHeaderMobile { | |||
display: block; |
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.
This take care of mobile but you still have the pointer on desktop when its not on the link. If we take the cursor pointer off the li
it will just turn to pointer when on anchor.
# [1.86.0](v1.85.1...v1.86.0) (2024-10-30) ### Features * **header:** L3-4326 updated spacing and search click ([#408](#408)) ([01391e2](01391e2))
🎉 This issue has been resolved in version 1.86.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Jira ticket
L3-4326
L3-4328
Screenshots
Summary
Remove margin from menu item, fixed logo margin, fixed auction links (need to update remix to see change), updated search click
Change List (describe the changes made to the files)
Acceptance Test (how to verify the PR)
Regression Test
Evidence of testing
Things to look for during review
feat(scope): ...
if aminor
release should be triggered.phillips
class prefix are using the prefix variabledata-testid
attribute.New Components
index.ts
filecomponentStyles.scss
file.