Skip to content

fix: remove !important from utility classes

Scott Hampton requested to merge fix-overwriting-classes into master

While technically utility classes can use !important because we don't want another class to override the utility class, because this app is injected onto other pages that could be potentially using these same classes we don't want to accidentally override the parent application's styles with !important. This is mainly a problem on GitLab specific applications that use these same utility classes, but without the !important attribute.

See gitlab!85520 (comment 930039124) for an example of this breaking things.

Edited by Scott Hampton

Merge request reports