fixes and cleanup

This commit is contained in:
Henry Jameson 2026-07-22 14:25:39 +03:00
commit 1301aff930
2 changed files with 23 additions and 21 deletions

View file

@ -99,10 +99,10 @@
h4 { h4 {
margin: 0.5em 0; margin: 0.5em 0;
line-height: 1.5; line-height: 1.1;
button { button {
line-height: 1.5; line-height: 1.1;
} }
} }
@ -110,6 +110,9 @@
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.5em; gap: 0.5em;
border: 1px solid var(--border);
border-radius: var(--roundness);
padding: 0.5em;
} }
} }
@ -119,5 +122,9 @@
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: stretch;
bottom: 0; bottom: 0;
.reply-form form {
margin-top: 0;
}
} }
} }

View file

@ -211,9 +211,7 @@
class="chat-view-reply-form panel-footer -flexible-height" class="chat-view-reply-form panel-footer -flexible-height"
> >
<div class="auto-reply-to-section"> <div class="auto-reply-to-section">
<h4 <h4 class="reply-to-text">
class="reply-to-text"
>
{{ explicitReplyStatus ? $t('status.reply_to_selected') : $t('status.reply_to_last') }} {{ explicitReplyStatus ? $t('status.reply_to_selected') : $t('status.reply_to_last') }}
<button <button
v-if="explicitReplyStatus" v-if="explicitReplyStatus"
@ -224,27 +222,24 @@
{{ $t('general.cancel') }} {{ $t('general.cancel') }}
</button> </button>
</h4> </h4>
<div class="reply-to-preview"> <StatusContent
<FAIcon :status="replyStatus"
icon="reply" class="reply-to-preview"
flip="horizontal" compact
/> collapse
<StatusContent />
:status="replyStatus"
compact
collapse
/>
</div>
</div> </div>
<PostStatusForm <PostStatusForm
class="reply-form"
:reply-to="replyStatus.id"
:attentions="replyStatus.attentions"
:replied-user="replyStatus.user"
:replied-sibject="replyStatus.summary"
:replied-scope="replyStatus.visibility"
:submit-on-enter="!mobileLayout" :submit-on-enter="!mobileLayout"
:preserve-focus="!mobileLayout" :preserve-focus="!mobileLayout"
:auto-focus="!mobileLayout" :auto-focus="!mobileLayout"
:reply-to="replyStatus.id" disable-quotes
:disable-quotes="true"
:copy-message-scope="replyStatus.visibility"
:attentions="replyStatus.attentions"
:replied-user="replyStatus.user"
mentions-line mentions-line
mentions-line-read-only mentions-line-read-only
/> />