diff --git a/package.json b/package.json index 401f7d2862..110145366d 100644 --- a/package.json +++ b/package.json @@ -210,7 +210,6 @@ "vue": "2.5.17", "vue-chartjs": "3.4.0", "vue-cropperjs": "2.2.1", - "vue-js-modal": "1.3.24", "vue-json-tree-view": "2.1.4", "vue-loader": "15.4.1", "vue-router": "3.0.1", diff --git a/src/client/app/app.styl b/src/client/app/app.styl index 431b9daa65..aaa0d34c71 100644 --- a/src/client/app/app.styl +++ b/src/client/app/app.styl @@ -126,3 +126,13 @@ pre [data-fa] display inline-block + +.modal-backdrop + z-index 10000 !important + +.modal-content-wrapper + z-index 10001 !important + +.modal-content + padding 0 !important + background-color transparent !important diff --git a/src/client/app/desktop/views/pages/welcome.vue b/src/client/app/desktop/views/pages/welcome.vue index ac2f921a21..37c776130e 100644 --- a/src/client/app/desktop/views/pages/welcome.vue +++ b/src/client/app/desktop/views/pages/welcome.vue @@ -37,9 +37,12 @@
- -
%i18n:@signup%
- + + +
+
%i18n:@signup%
+ +
@@ -88,10 +91,10 @@ export default Vue.extend({ this.$refs.pointer.style.left = x.left + 'px'; }, signup() { - this.$modal.show('signup'); + this.$modal.push('signup'); }, signin() { - this.$modal.show('signin'); + this.$modal.push('signin'); }, dark() { this.$store.commit('device/set', { @@ -265,6 +268,10 @@ root(isDark)