agent: Fix Zed header in settings view (#34993)
Follow-up to taffy bump (#34939), fixes an issue reported by @MrSubidubi Release Notes: - N/A
This commit is contained in:
parent
31afda3c0c
commit
67027bb241
1 changed files with 5 additions and 0 deletions
|
@ -186,6 +186,7 @@ impl AgentConfiguration {
|
||||||
};
|
};
|
||||||
|
|
||||||
v_flex()
|
v_flex()
|
||||||
|
.w_full()
|
||||||
.when(is_expanded, |this| this.mb_2())
|
.when(is_expanded, |this| this.mb_2())
|
||||||
.child(
|
.child(
|
||||||
div()
|
div()
|
||||||
|
@ -216,6 +217,7 @@ impl AgentConfiguration {
|
||||||
.hover(|hover| hover.bg(cx.theme().colors().element_hover))
|
.hover(|hover| hover.bg(cx.theme().colors().element_hover))
|
||||||
.child(
|
.child(
|
||||||
h_flex()
|
h_flex()
|
||||||
|
.w_full()
|
||||||
.gap_2()
|
.gap_2()
|
||||||
.child(
|
.child(
|
||||||
Icon::new(provider.icon())
|
Icon::new(provider.icon())
|
||||||
|
@ -224,6 +226,7 @@ impl AgentConfiguration {
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
h_flex()
|
h_flex()
|
||||||
|
.w_full()
|
||||||
.gap_1()
|
.gap_1()
|
||||||
.child(
|
.child(
|
||||||
Label::new(provider_name.clone())
|
Label::new(provider_name.clone())
|
||||||
|
@ -307,6 +310,7 @@ impl AgentConfiguration {
|
||||||
let providers = LanguageModelRegistry::read_global(cx).providers();
|
let providers = LanguageModelRegistry::read_global(cx).providers();
|
||||||
|
|
||||||
v_flex()
|
v_flex()
|
||||||
|
.w_full()
|
||||||
.child(
|
.child(
|
||||||
h_flex()
|
h_flex()
|
||||||
.p(DynamicSpacing::Base16.rems(cx))
|
.p(DynamicSpacing::Base16.rems(cx))
|
||||||
|
@ -361,6 +365,7 @@ impl AgentConfiguration {
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
div()
|
div()
|
||||||
|
.w_full()
|
||||||
.pl(DynamicSpacing::Base08.rems(cx))
|
.pl(DynamicSpacing::Base08.rems(cx))
|
||||||
.pr(DynamicSpacing::Base20.rems(cx))
|
.pr(DynamicSpacing::Base20.rems(cx))
|
||||||
.children(
|
.children(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue