From f1d65a66b465a18d200f922fac03384bee7d6f69 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 1 Sep 2018 15:38:03 +0900 Subject: [PATCH] Fix bug --- package.json | 1 - src/client/app/app.styl | 10 ++++++++++ src/client/app/desktop/views/pages/welcome.vue | 17 ++++++++++++----- src/client/app/init.ts | 2 -- src/client/app/mobile/style.styl | 10 ---------- 5 files changed, 22 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 401f7d286..110145366 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 431b9daa6..aaa0d34c7 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 ac2f921a2..37c776130 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)