Use <p> elements instead of <br> for notice on edit status form

This commit is contained in:
Sean King 2022-06-21 18:00:24 -06:00 committed by Sol Fisher Romanoff
parent bbe592e7f9
commit 172b1a4c17
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62

View file

@ -66,14 +66,13 @@
<span v-if="safeDMEnabled">{{ $t('post_status.direct_warning_to_first_only') }}</span>
<span v-else>{{ $t('post_status.direct_warning_to_all') }}</span>
</p>
<p
<div
v-if="isEdit"
class="visibility-notice"
class="visibility-notice edit-warning"
>
<span>{{ $t('post_status.edit_remote_warning') }}</span>
<br>
<span>{{ $t('post_status.edit_unsupported_warning') }}</span>
</p>
<p>{{ $t('post_status.edit_remote_warning') }}</p>
<p>{{ $t('post_status.edit_unsupported_warning') }}</p>
</div>
<div
v-if="!disablePreview"
class="preview-heading faint"
@ -429,6 +428,16 @@
align-items: baseline;
}
.visibility-notice.edit-warning {
> :first-child {
margin-top: 0;
}
> :last-child {
margin-bottom: 0;
}
}
.media-upload-icon, .poll-icon, .emoji-icon {
font-size: 1.85em;
line-height: 1.1;