style: suppress noDescendingSpecificity false positives from biome 2.6.9

- Biome 2.6.9 compares the .indexTree:global(...) rules by .indexTree
  alone, so it flags rules that target other rc-tree elements
- add biome-ignore comments to the switcher, content wrapper and title
  rules in IndexTree.module.css
This commit is contained in:
2026-12-02 15:40:00 +09:00
parent 6115253f03
commit 091e89759f
+3
View File
@@ -69,6 +69,7 @@
display: none;
}
/* biome-ignore lint/style/noDescendingSpecificity: the :global() part targets another rc-tree element than the rules above */
.indexTree:global(.rc-tree .rc-tree-treenode .rc-tree-switcher) {
display: inline-block;
height: 20px;
@@ -98,11 +99,13 @@
background-position: -32px -20px;
}
/* biome-ignore lint/style/noDescendingSpecificity: the :global() part targets another rc-tree element than the rules above */
.indexTree:global(.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper) {
display: inline-block;
height: 20px;
cursor: pointer;
}
/* biome-ignore lint/style/noDescendingSpecificity: the :global() part targets another rc-tree element than the rules above */
.indexTree:global(.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper .rc-tree-title) {
vertical-align: middle;
line-height: 20px;