Use more clear explanation in the scope notice, make sure the hide button doesn't overlap with text in notice.

This commit is contained in:
eugenijm 2019-05-07 22:32:47 +03:00
parent 4af343374a
commit a89010843d
7 changed files with 30 additions and 18 deletions

View file

@ -12,8 +12,7 @@ const MobilePostStatusModal = {
scrollingDown: false,
inputActive: false,
oldScrollPos: 0,
amountScrolled: 0,
visibility: this.$store.state.users.currentUser.default_scope
amountScrolled: 0
}
},
created () {
@ -33,9 +32,6 @@ const MobilePostStatusModal = {
}
},
methods: {
onScopeChange (visibility) {
this.visibility = visibility
},
openPostForm () {
this.postFormOpen = true
this.hidden = true

View file

@ -7,7 +7,7 @@
>
<div class="post-form-modal-panel panel" @click.stop="">
<div class="panel-heading">{{$t('post_status.new_status')}}</div>
<PostStatusForm class="panel-body" @posted="closePostForm" @onScopeChange="onScopeChange" />
<PostStatusForm class="panel-body" @posted="closePostForm" />
</div>
</div>
<button