-
Notifications
You must be signed in to change notification settings - Fork 93
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
NcAppNavigationCaption: Align actions with other navigation action #4220
Conversation
…actions Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5cc0663
to
261639f
Compare
@@ -145,6 +144,8 @@ export default { | |||
opacity: $opacity_normal; | |||
box-shadow: none !important; | |||
flex-shrink: 0; | |||
// padding to align the name with the icon of app navigation items | |||
padding: 0 calc(var(--default-grid-baseline, 4px) * 2) 0 calc(var(--default-grid-baseline, 4px) * 3); |
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 don't understand the syntax, why not just this?
padding: 0 calc(var(--default-grid-baseline, 4px) * 2) 0 calc(var(--default-grid-baseline, 4px) * 3); | |
padding: 0 calc(var(--default-grid-baseline) * 2) 0 calc(var(--default-grid-baseline) * 3); |
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.
That's the fallback in case --default-grid-baseline
is not defined.
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.
Nice! 🚀
☑️ Resolves
🖼️ Screenshots
🏁 Checklist