-
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
fix(NcAppSidebarTabs): override tabs styles only tablist navigation #4823
Conversation
…bslist nav Otherwise NcCheckboxRadioSwitch-s in tab content are also overridden Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
ba74d99
to
3ea472b
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.
Thanks!
} | ||
&.checkbox-radio-switch--checked .checkbox-radio-switch__content{ | ||
background: transparent !important; | ||
color: var(--color-main-text) !important; |
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.
The correct text color in that case would have been --color-primary-element-text
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.
would you mind creating a PR for this? 🙏
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.
done in #4834
margin: 0 !important; | ||
border-bottom: var(--default-grid-baseline) solid transparent !important; | ||
.checkbox-content__icon--checked > * { | ||
color: var(--color-main-text) !important; |
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.
probably same here
☑️ Resolves
NcCheckboxRadioSwitch
styles are overridden insideNcAppSidebarTab
#4822🖼️ Screenshots
🚧 Tasks
:deep
NcCheckboxRadioSwitch
styles only inside tabslist navigation, not inside all the tab, including tab content🏁 Checklist