Update inline assist styles
This commit is contained in:
parent
7e2ff63270
commit
fdd64832e7
1 changed files with 6 additions and 1 deletions
|
@ -2562,6 +2562,10 @@ impl Render for InlineAssistant {
|
||||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
|
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
|
||||||
let measurements = self.measurements.get();
|
let measurements = self.measurements.get();
|
||||||
h_stack()
|
h_stack()
|
||||||
|
.w_full()
|
||||||
|
.py_2()
|
||||||
|
.border_y_1()
|
||||||
|
.border_color(cx.theme().colors().border)
|
||||||
.on_action(cx.listener(Self::confirm))
|
.on_action(cx.listener(Self::confirm))
|
||||||
.on_action(cx.listener(Self::cancel))
|
.on_action(cx.listener(Self::cancel))
|
||||||
.on_action(cx.listener(Self::toggle_include_conversation))
|
.on_action(cx.listener(Self::toggle_include_conversation))
|
||||||
|
@ -2617,7 +2621,8 @@ impl Render for InlineAssistant {
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
div()
|
h_stack()
|
||||||
|
.w_full()
|
||||||
.ml(measurements.anchor_x - measurements.gutter_width)
|
.ml(measurements.anchor_x - measurements.gutter_width)
|
||||||
.child(self.render_prompt_editor(cx)),
|
.child(self.render_prompt_editor(cx)),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue