Wrap .icon style to prevent cross-contamination.

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

Information

Djblets
release-4.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
djblets 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 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

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 djblets 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.
3c5a78d2e2300765ebb55773c2833a37fcc3020d David Trowbridge
djblets/static/djblets/css/datagrid.less
Loading...