Skip to content

Commit

Permalink
πŸ—πŸ› Trim selectors in z-index report (#35235)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorozco authored Jul 15, 2021
1 parent c4a78c1 commit a4e1261
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 161 deletions.
2 changes: 1 addition & 1 deletion build-system/tasks/get-zindex/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function zIndexCollector(acc, css) {
.forEach((selector) => {
// If multiple redeclaration of a selector and z index
// are done in a single file, this will get overridden.
acc[selector] = decl.value;
acc[selector.trim()] = decl.value;
});
}
});
Expand Down
Loading

0 comments on commit a4e1261

Please sign in to comment.