Skip to content

Commit 86dee21

Browse files
committed
style(ui): nest picker list-header ::after override
Address Gemini review feedback: nest the ::after { display: none } under the header rule instead of repeating the four-deep selector chain. Same compiled CSS, less duplication, matches list.css's nesting style.
1 parent b474a2c commit 86dee21

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/ui/src/components/picker.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@
5858
position: static;
5959
z-index: auto;
6060
background: var(--surface-raised);
61-
}
6261

63-
[data-picker-content] [data-slot="list-scroll"] [data-slot="list-group"] [data-slot="list-header"]::after {
64-
display: none;
62+
&::after {
63+
display: none;
64+
}
6565
}
6666

6767
[data-picker-content] [data-slot="list-group"] {

0 commit comments

Comments
 (0)