-
+
{{ $t('post_status.new_status') }}
@@ -19,7 +15,7 @@
@posted="closeModal"
/>
-
+
@@ -29,10 +25,6 @@
.post-form-modal-view {
align-items: flex-start;
-
- body:not(.scroll-locked) & {
- display: none;
- }
}
.post-form-modal-panel {
diff --git a/src/components/user_reporting_modal/user_reporting_modal.js b/src/components/user_reporting_modal/user_reporting_modal.js
index 7c6ea40964..3fb9638479 100644
--- a/src/components/user_reporting_modal/user_reporting_modal.js
+++ b/src/components/user_reporting_modal/user_reporting_modal.js
@@ -2,12 +2,14 @@
import Status from '../status/status.vue'
import List from '../list/list.vue'
import Checkbox from '../checkbox/checkbox.vue'
+import Modal from '../modal/modal.vue'
const UserReportingModal = {
components: {
Status,
List,
- Checkbox
+ Checkbox,
+ Modal
},
data () {
return {
@@ -51,6 +53,7 @@ const UserReportingModal = {
this.error = false
},
closeModal () {
+ console.log('closeModal clicked')
this.$store.dispatch('closeUserReportingModal')
},
reportUser () {
diff --git a/src/components/user_reporting_modal/user_reporting_modal.vue b/src/components/user_reporting_modal/user_reporting_modal.vue
index ecbc1369f7..0dce4c55c1 100644
--- a/src/components/user_reporting_modal/user_reporting_modal.vue
+++ b/src/components/user_reporting_modal/user_reporting_modal.vue
@@ -1,14 +1,9 @@
-
-
+
{{ $t('user_reporting.title', [user.screen_name]) }}
@@ -70,7 +65,7 @@
-
+
@@ -78,12 +73,6 @@