web: cap the size of reply boxes
also add a nice divider line before the input box
This commit is contained in:
parent
1b49a7029b
commit
8b68c76951
3 changed files with 15 additions and 4 deletions
|
@ -201,7 +201,7 @@ function render_event(model, ev, opts={}) {
|
|||
}
|
||||
|
||||
const has_top_line = replied_events !== ""
|
||||
const border_bottom = has_bot_line ? "" : "bottom-border";
|
||||
const border_bottom = opts.is_composing || has_bot_line ? "" : "bottom-border";
|
||||
return `
|
||||
${replied_events}
|
||||
<div id="ev${ev.id}" class="event ${border_bottom}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue