oui
oui copied to clipboard
Avoid using `important` in style sheets
https://uxengineer.com/css-specificity-avoid-important-css/
If there are situations where it is conflicting then we should consider fixing conflicts.
Origin: https://github.com/opensearch-project/oui/pull/131/
Currently present in 73! files. I think this is something we can work on incrementally, as there is some risk to attempting to fix these.
Currently present in 73! files. I think this is something we can work on incrementally, as there is some risk to attempting to fix these.
Completely agree. I think it would probably be possible to break these down into smaller issues.
Additionally, I think it would be nice to understand why important is used. For example, when I was working on breadcrumbs, I needed to use it to override the color of links to a custom color, which otherwise wouldn't be possible.