-
Notifications
You must be signed in to change notification settings - Fork 60
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(styles): btp horizontal nav update #4997
Conversation
✅ Deploy Preview for fundamental-styles ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
acbae73
to
59edf5e
Compare
@@ -378,7 +400,7 @@ $navListContainerSubmenu: #{$block}__list-container--submenu; | |||
} | |||
} | |||
|
|||
.#{$navItemWithExpander} { | |||
@include _fd-vertical-nav-with-expander() { |
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.
how is this a better approach?
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.
@InnaAtanasova previous line would apply styling for both horizontal and vertical navs. This mixin allows to apply styling only for a vertical nav. Same with _fd-horizontal-nav-with-expander
mixin.
1c5f075
to
04bd9c3
Compare
Please fix the underline spacing. The code looks great so I will approve the PR to not block you tomorrow. |
Related Issue
Relates SAP/fundamental-ngx#10670
Description
Screenshots
After:
Please check whether the PR fulfills the following requirements
rem
fd-*
class is used in the filefd-rtl
,fd-ellipsis
,fd-flex
,fd-selected
,fd-focus
, ect.)fd-reset()
mixin is applied to all elementsnormalize
optionunnormalize
option[ci visual]
so it can trigger chromatic visual regression (e.g.test: run chromatic visual regression [ci visual]
)