|
66 | 66 | }
|
67 | 67 | }
|
68 | 68 |
|
69 |
| -/** |
70 |
| - * The following code handles handles the multi-row selections. It's responsible |
71 |
| - * for ensuring only the first and last elements in a selection have rounded corners. |
72 |
| - */ |
73 |
| -[data-is-selected='true'] .row { |
74 |
| - border-radius: 0; |
75 |
| -} |
| 69 | +@supports selector(:has(*)) { |
| 70 | + /** |
| 71 | + * The following code handles handles the multi-row selections. It's responsible |
| 72 | + * for ensuring only the first and last elements in a selection have rounded corners. |
| 73 | + */ |
| 74 | + [data-is-selected='true'] .row { |
| 75 | + border-radius: 0; |
| 76 | + } |
76 | 77 |
|
77 |
| -[data-is-selected='true']:first-of-type .row, |
78 |
| -[data-is-selected='true']:not([data-is-selected='true'] + [data-is-selected='true']) .row |
79 |
| -{ |
80 |
| - border-top-left-radius: var(--row-radius); |
81 |
| - border-top-right-radius: var(--row-radius); |
82 |
| -} |
| 78 | + [data-is-selected='true']:first-of-type .row, |
| 79 | + [data-is-selected='true']:not([data-is-selected='true'] + [data-is-selected='true']) .row |
| 80 | + { |
| 81 | + border-top-left-radius: var(--row-radius); |
| 82 | + border-top-right-radius: var(--row-radius); |
| 83 | + } |
83 | 84 |
|
84 |
| -[data-is-selected='true']:last-of-type .row, |
85 |
| -[data-is-selected='true']:not(:has(+ [data-is-selected='true'])) .row |
86 |
| -{ |
87 |
| - border-bottom-left-radius: var(--row-radius); |
88 |
| - border-bottom-right-radius: var(--row-radius); |
| 85 | + [data-is-selected='true']:last-of-type .row, |
| 86 | + [data-is-selected='true']:not(:has(+ [data-is-selected='true'])) .row |
| 87 | + { |
| 88 | + border-bottom-left-radius: var(--row-radius); |
| 89 | + border-bottom-right-radius: var(--row-radius); |
| 90 | + } |
89 | 91 | }
|
90 | 92 |
|
| 93 | + |
91 | 94 | .favicon {
|
92 | 95 | flex-shrink: 0;
|
93 | 96 | min-width: 0;
|
|
0 commit comments