Skip to content

Commit fbb0fe4

Browse files
authored
agent: Add small design tweaks (#29674)
Mostly spacing and whatnot; tiny stuff here. Release Notes: - N/A
1 parent 7587340 commit fbb0fe4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/agent/src/active_thread.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,10 +1570,11 @@ impl ActiveThread {
15701570
});
15711571

15721572
// For all items that should be aligned with the LLM's response.
1573-
const RESPONSE_PADDING_X: Pixels = px(18.);
1573+
const RESPONSE_PADDING_X: Pixels = px(19.);
15741574

15751575
let feedback_container = h_flex()
15761576
.group("feedback_container")
1577+
.mt_1()
15771578
.py_2()
15781579
.px(RESPONSE_PADDING_X)
15791580
.gap_1()
@@ -1697,7 +1698,7 @@ impl ActiveThread {
16971698
if let Some(edit_message_editor) = edit_message_editor.clone() {
16981699
let settings = ThemeSettings::get_global(cx);
16991700
let font_size = TextSize::Small.rems(cx);
1700-
let line_height = font_size.to_pixels(window.rem_size()) * 1.5;
1701+
let line_height = font_size.to_pixels(window.rem_size()) * 1.75;
17011702

17021703
let text_style = TextStyle {
17031704
color: cx.theme().colors().text,
@@ -1781,8 +1782,7 @@ impl ActiveThread {
17811782
.cursor_pointer()
17821783
.child(
17831784
h_flex()
1784-
.p_2()
1785-
.pt_3()
1785+
.p_2p5()
17861786
.gap_1()
17871787
.children(message_content)
17881788
.when_some(edit_message_editor.clone(), |this, edit_editor| {

0 commit comments

Comments
 (0)