thread view: Refine the UI a bit (#36504)

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <agus@zed.dev>
This commit is contained in:
Danilo Leal 2025-08-20 01:47:28 -03:00 committed by GitHub
parent fbba6addfd
commit 60960409f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 262 additions and 145 deletions

View file

@ -1084,7 +1084,13 @@ impl Element for MarkdownElement {
cx,
);
el.child(
div().absolute().top_1().right_0p5().w_5().child(codeblock),
h_flex()
.w_5()
.absolute()
.top_1()
.right_1()
.justify_center()
.child(codeblock),
)
});
}