Reduce selector specificity in _header.scss #9789
Labels
component: ui-shell
needs: community contribution
Due to roadmap and resource availability, we are looking for outside contributions on this issue.
proposal: accepted
This request has gone through triaging and we are accepting PR's against it.
role: dev 🤖
type: a11y ♿
type: enhancement 💡
Is it really necessary to select only icon buttons with class
.#{$prefix}--tooltip__trigger
?carbon/packages/styles/scss/components/ui-shell/header/_header.scss
Lines 82 to 84 in 354bf5c
As the selector is right now, it won't select icon-only buttons that don't have a tooltips. E.g:
Left button doesn't have a tooltip, right button has a tooltip.
Can we change the selector to
.#{$prefix}--header__action.#{$prefix}--btn--icon-only
?The text was updated successfully, but these errors were encountered: