move reply-quote buttons on same line as preview
This commit is contained in:
parent
c698dec89d
commit
619423eacb
1
changelog.d/quote-buttons.fix
Normal file
1
changelog.d/quote-buttons.fix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
reply-or-quote buttons now take less space
|
|
@ -103,6 +103,36 @@
|
||||||
icon="circle-notch"
|
icon="circle-notch"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
v-if="quotable"
|
||||||
|
role="radiogroup"
|
||||||
|
class="btn-group reply-or-quote-selector"
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
:id="`reply-or-quote-option-${randomSeed}-reply`"
|
||||||
|
class="btn button-default reply-or-quote-option"
|
||||||
|
:class="{ toggled: !newStatus.quoting }"
|
||||||
|
tabindex="0"
|
||||||
|
role="radio"
|
||||||
|
:aria-labelledby="`reply-or-quote-option-${randomSeed}-reply`"
|
||||||
|
:aria-checked="!newStatus.quoting"
|
||||||
|
@click="newStatus.quoting = false"
|
||||||
|
>
|
||||||
|
{{ $t('post_status.reply_option') }}
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
:id="`reply-or-quote-option-${randomSeed}-quote`"
|
||||||
|
class="btn button-default reply-or-quote-option"
|
||||||
|
:class="{ toggled: newStatus.quoting }"
|
||||||
|
tabindex="0"
|
||||||
|
role="radio"
|
||||||
|
:aria-labelledby="`reply-or-quote-option-${randomSeed}-quote`"
|
||||||
|
:aria-checked="newStatus.quoting"
|
||||||
|
@click="newStatus.quoting = true"
|
||||||
|
>
|
||||||
|
{{ $t('post_status.quote_option') }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="showPreview"
|
v-if="showPreview"
|
||||||
|
@ -126,36 +156,6 @@
|
||||||
class="preview-status"
|
class="preview-status"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
|
||||||
v-if="quotable"
|
|
||||||
role="radiogroup"
|
|
||||||
class="btn-group reply-or-quote-selector"
|
|
||||||
>
|
|
||||||
<button
|
|
||||||
:id="`reply-or-quote-option-${randomSeed}-reply`"
|
|
||||||
class="btn button-default reply-or-quote-option"
|
|
||||||
:class="{ toggled: !newStatus.quoting }"
|
|
||||||
tabindex="0"
|
|
||||||
role="radio"
|
|
||||||
:aria-labelledby="`reply-or-quote-option-${randomSeed}-reply`"
|
|
||||||
:aria-checked="!newStatus.quoting"
|
|
||||||
@click="newStatus.quoting = false"
|
|
||||||
>
|
|
||||||
{{ $t('post_status.reply_option') }}
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
:id="`reply-or-quote-option-${randomSeed}-quote`"
|
|
||||||
class="btn button-default reply-or-quote-option"
|
|
||||||
:class="{ toggled: newStatus.quoting }"
|
|
||||||
tabindex="0"
|
|
||||||
role="radio"
|
|
||||||
:aria-labelledby="`reply-or-quote-option-${randomSeed}-quote`"
|
|
||||||
:aria-checked="newStatus.quoting"
|
|
||||||
@click="newStatus.quoting = true"
|
|
||||||
>
|
|
||||||
{{ $t('post_status.quote_option') }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<EmojiInput
|
<EmojiInput
|
||||||
v-if="!disableSubject && (newStatus.spoilerText || alwaysShowSubject)"
|
v-if="!disableSubject && (newStatus.spoilerText || alwaysShowSubject)"
|
||||||
v-model="newStatus.spoilerText"
|
v-model="newStatus.spoilerText"
|
||||||
|
@ -447,6 +447,8 @@
|
||||||
|
|
||||||
.reply-or-quote-selector {
|
.reply-or-quote-selector {
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-format {
|
.text-format {
|
||||||
|
|
Loading…
Reference in a new issue