Commit df42bec
authored
fix(ui): folder view toggle button styles overridden due to equal specificity (#15544)
### What
Folder view toggle buttons render with inconsistent padding across
different environments due to CSS cascade order differences.
### Why
The `.folder-view-toggle-button` selector has equal specificity to
`.btn`, so whichever CSS loads last wins. Different build tools and
environments load CSS in different orders, causing the padding to apply
inconsistently.
### How
Increased selector specificity from `.folder-view-toggle-button` to
`.btn.folder-view-toggle-button`.
Fixes #155231 parent 73a9650 commit df42bec
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments