Wrap .icon style to prevent cross-contamination.

Review Request #13059 — Created May 22, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

Something changed in LESS that was causing our .icon() mixins to
cross-contaminate, meaning that some rules for defining .rb-icon-*
were also being duplicated as .datagrid-icon-*. This change wraps our
Review Board styles to ensure that the .icon() mixin stays in a very
limited scope.

Loaded the Review Board dashboard and saw that the datagrid icons were
no longer messed up.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Wrap .icon style to prevent cross-contamination.
Something changed in LESS that was causing our `.icon()` mixins to cross-contaminate, meaning that some rules for defining `.rb-icon-*` were also being duplicated as `.datagrid-icon-*`. This change wraps our Review Board styles to ensure that the `.icon()` mixin stays in a very limited scope. Testing Done: Loaded the Review Board dashboard and saw that the datagrid icons were no longer messed up.
adb11802ccf47fdc1b27d19a707ec670e59824c4 David Trowbridge
reviewboard/static/rb/css/assets/icons.less
Loading...