diff options
| author | Sean King <seanking2919@protonmail.com> | 2022-06-21 18:00:24 -0600 |
|---|---|---|
| committer | Sean King <seanking2919@protonmail.com> | 2022-06-21 18:00:24 -0600 |
| commit | 08c9aa4bf3a06531516cf72b9ffc00b44ee51d75 (patch) | |
| tree | 4aadd5bb3c0d7be55c64f8773f0424248e99447d | |
| parent | f56298adbd6fc4b30f759f58336f881e9ebfab65 (diff) | |
Use <p> elements instead of <br> for notice on edit status form
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 650b5b8c..f65058f4 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -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" @@ -419,6 +418,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; |
