Add left mergin to messages
This commit is contained in:
parent
fdd10f7065
commit
df8337fea4
@ -128,7 +128,7 @@ impl Component for Home {
|
||||
>
|
||||
{ self.messages.iter().rev().map(|msg| html!{
|
||||
<div class="d-flex justify-content-between align-items-start">
|
||||
<div class="me-2">{msg.message.clone()}</div>
|
||||
<div class="ms-1 me-2">{msg.message.clone()}</div>
|
||||
<div class="me-2 text-nowrap">{msg.time.format("%I:%M:%S %p").to_string()}</div>
|
||||
</div>}
|
||||
).collect::<Vec<_>>() }
|
||||
|
Loading…
Reference in New Issue
Block a user