Updated modals to be better for everyone.

This commit is contained in:
Thomas Mathews 2023-01-20 13:42:58 -08:00
parent 3970bb5acd
commit 8ddeca2227
7 changed files with 78 additions and 211 deletions

View file

@ -197,12 +197,9 @@ function render_action_bar(model, ev, opts={}) {
let str = html`<div class="action-bar">`;
if (!shared && event_can_reply(ev)) {
str += html`
<button class="icon" title="Reply" action="reply-author" data-evid="${ev.id}">
<button class="icon" title="Reply" action="reply-to" data-evid="${ev.id}">
<img class="icon svg small" src="icon/event-reply.svg"/>
</button>
<button class="icon" title="Reply All" action="reply-all" data-evid="${ev.id}">
<img class="icon svg small" src="icon/event-reply-all.svg"/>
</button>
<button class="icon react heart ${ab(liked, 'liked', '')}"
action="react-like"
data-reaction-id="${reaction_id}"