mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
assistant: Remove unneeded wrapping div
in ModelSelector
(#14024)
This PR removes an unneeded wrapping `div` in the `ModelSelector`. Release Notes: - N/A
This commit is contained in:
parent
c59d5fbae7
commit
2db06c1567
1 changed files with 4 additions and 6 deletions
|
@ -49,6 +49,7 @@ impl RenderOnce for ModelSelector {
|
|||
})
|
||||
.trigger(
|
||||
ButtonLike::new("active-model")
|
||||
.style(ButtonStyle::Subtle)
|
||||
.child(
|
||||
h_flex()
|
||||
.w_full()
|
||||
|
@ -67,14 +68,11 @@ impl RenderOnce for ModelSelector {
|
|||
),
|
||||
)
|
||||
.child(
|
||||
div().child(
|
||||
Icon::new(IconName::ChevronDown)
|
||||
.color(Color::Muted)
|
||||
.size(IconSize::XSmall),
|
||||
),
|
||||
Icon::new(IconName::ChevronDown)
|
||||
.color(Color::Muted)
|
||||
.size(IconSize::XSmall),
|
||||
),
|
||||
)
|
||||
.style(ButtonStyle::Subtle)
|
||||
.tooltip(move |cx| {
|
||||
Tooltip::for_action("Change Model", &ToggleModelSelector, cx)
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue