-
Notifications
You must be signed in to change notification settings - Fork 152
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
NavigationBar padding updates #4570
Conversation
Storybook staging is available at https://kiwicom-orbit-domi-navbar-updates.surge.sh |
Size Change: +14 B (0%) Total Size: 459 kB
ℹ️ View Unchanged
|
Deploying orbit with Cloudflare Pages
|
a0df190
to
13c1d0a
Compare
@@ -74,7 +74,7 @@ const NavigationBar = ({ | |||
)} | |||
aria-label={ariaLabel} | |||
> | |||
<div className="me-200 block w-full">{children}</div> | |||
<div className={cx("block w-full", onMenuOpen && "me-200")}>{children}</div> |
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.
I added this condition for the margin as it doesn't make sense to me for it to be there if there is no menu link rendered but I might be missing some information why it's there.
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.
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.
We have confirmation from the designers to remove the margin.
24a1f92
to
d88d9ed
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.
👍
f7ca212
to
8eaa4ed
Compare
8eaa4ed
to
f6fcdd8
Compare
Part of FEPLT-2191
Horizontal padding for mobile sizes changed to 16px as requested, vertical padding kept at original value.
✨
Description by Callstackai
This PR updates the horizontal padding for mobile sizes in the
NavigationBar
component to 16px and retains the original vertical padding.Diagrams of code changes
Files Changed