Skip to content
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(menu.module.css): padding to category to fix active highlighting #402

Closed

Conversation

jrhender
Copy link
Collaborator

Relates to #379 . Adds padding so that active category is closer to figma

image

@jrhender jrhender requested review from melissasamworth, mruwnik, ccstan99 and buddy-web3 and removed request for ccstan99 February 14, 2024 17:42
@@ -15,6 +15,7 @@
align-items: flex-start;
margin: 5px;
position: relative;
padding: 0px 10px 0px 24px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're trying to use variables when we define numbers. Partially for conversion to mobile, partially so we can avoid numbers that aren't in the design system like 10px. If you want you can change these but I'll still approve :).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks. I'll adjust this PR to have variables and numbers that are in the design system.
If you want to merge to get the change on stampy-redesign though, go ahead and I can make the change in another PR.

@jrhender
Copy link
Collaborator Author

Closing as categories page is in a good state AFAIK

@jrhender jrhender closed this Feb 29, 2024
@jrhender jrhender deleted the jrhender-379-active-category-highlight branch February 29, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants