Rework ListItem
and ListHeader
to use slot-based APIs (#3635)
This PR reworks the `ListItem` and `ListHeader` components to use slot-based APIs, making them less opinionated about their contents. Splitting this out of the collab UI styling PR so we can land it to avoid conflicts. Co-authored-by: Nate <nate@zed.dev> Release Notes: - N/A
This commit is contained in:
parent
5c8257585a
commit
ee509e043d
10 changed files with 267 additions and 109 deletions
|
@ -271,7 +271,6 @@ impl<D: PickerDelegate> Render for Picker<D> {
|
|||
},
|
||||
)
|
||||
.track_scroll(self.scroll_handle.clone())
|
||||
.p_1()
|
||||
)
|
||||
.max_h_72()
|
||||
.overflow_hidden(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue