From a89010843deb67f8c03e72ab8681b1de54b3259b Mon Sep 17 00:00:00 2001 From: eugenijm Date: Tue, 7 May 2019 22:32:47 +0300 Subject: Use more clear explanation in the scope notice, make sure the hide button doesn't overlap with text in notice. --- src/components/post_status_form/post_status_form.js | 1 - src/components/post_status_form/post_status_form.vue | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src/components/post_status_form') diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 998794bf..cbd2024a 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -341,7 +341,6 @@ const PostStatusForm = { }, changeVis (visibility) { this.newStatus.visibility = visibility - this.$emit('onScopeChange', visibility) }, dismissScopeNotice () { this.$store.dispatch('setOption', { name: 'hideScopeNotice', value: true }) diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 15a466ec..b8b93936 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -9,21 +9,21 @@ class="visibility-notice"> {{ $t('post_status.account_not_locked_warning_link') }} -

+

{{ $t('post_status.scope_notice.public') }} - +

-

+

{{ $t('post_status.scope_notice.unlisted') }} - +

-

+

{{ $t('post_status.scope_notice.private') }} - +

-- cgit v1.2.3-70-g09d2