Make chat font sizes consistently small
This commit is contained in:
parent
df2b0f6d2e
commit
5dee8914ed
2 changed files with 7 additions and 9 deletions
|
@ -349,15 +349,13 @@ impl ChatPanel {
|
|||
.when(!is_continuation_from_previous, |this| {
|
||||
this.pt_3().child(
|
||||
h_flex()
|
||||
.child(
|
||||
div().absolute().child(
|
||||
Avatar::new(message.sender.avatar_uri.clone())
|
||||
.size(cx.rem_size() * 1.5),
|
||||
),
|
||||
)
|
||||
.text_ui_sm()
|
||||
.child(div().absolute().child(
|
||||
Avatar::new(message.sender.avatar_uri.clone()).size(cx.rem_size()),
|
||||
))
|
||||
.child(
|
||||
div()
|
||||
.pl(cx.rem_size() * 1.5 + px(6.0))
|
||||
.pl(cx.rem_size() + px(6.0))
|
||||
.pr(px(8.0))
|
||||
.font_weight(FontWeight::BOLD)
|
||||
.child(Label::new(message.sender.github_login.clone())),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue