Use <p> elements instead of <br> for notice on edit status form
This commit is contained in:
parent
f56298adbd
commit
08c9aa4bf3
|
@ -66,14 +66,13 @@
|
||||||
<span v-if="safeDMEnabled">{{ $t('post_status.direct_warning_to_first_only') }}</span>
|
<span v-if="safeDMEnabled">{{ $t('post_status.direct_warning_to_first_only') }}</span>
|
||||||
<span v-else>{{ $t('post_status.direct_warning_to_all') }}</span>
|
<span v-else>{{ $t('post_status.direct_warning_to_all') }}</span>
|
||||||
</p>
|
</p>
|
||||||
<p
|
<div
|
||||||
v-if="isEdit"
|
v-if="isEdit"
|
||||||
class="visibility-notice"
|
class="visibility-notice edit-warning"
|
||||||
>
|
>
|
||||||
<span>{{ $t('post_status.edit_remote_warning') }}</span>
|
<p>{{ $t('post_status.edit_remote_warning') }}</p>
|
||||||
<br>
|
<p>{{ $t('post_status.edit_unsupported_warning') }}</p>
|
||||||
<span>{{ $t('post_status.edit_unsupported_warning') }}</span>
|
</div>
|
||||||
</p>
|
|
||||||
<div
|
<div
|
||||||
v-if="!disablePreview"
|
v-if="!disablePreview"
|
||||||
class="preview-heading faint"
|
class="preview-heading faint"
|
||||||
|
@ -419,6 +418,16 @@
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.visibility-notice.edit-warning {
|
||||||
|
> :first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
> :last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.media-upload-icon, .poll-icon, .emoji-icon {
|
.media-upload-icon, .poll-icon, .emoji-icon {
|
||||||
font-size: 1.85em;
|
font-size: 1.85em;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
|
|
Loading…
Reference in New Issue