From cf1f2562d79056fe9f3acbd2e58512e3eaf665f6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 24 Feb 2018 03:03:26 +0900 Subject: [PATCH] :v: --- src/web/app/common/define-widget.ts | 1 - .../views/components/widget-container.vue | 2 +- .../views/components/widgets/activity.vue | 11 ++++++- src/web/app/mobile/views/pages/home.vue | 33 +++++++++++++------ 4 files changed, 34 insertions(+), 13 deletions(-) diff --git a/src/web/app/common/define-widget.ts b/src/web/app/common/define-widget.ts index 60cd1969c0..826f9cc636 100644 --- a/src/web/app/common/define-widget.ts +++ b/src/web/app/common/define-widget.ts @@ -25,7 +25,6 @@ export default function(data: { }; }, created() { - if (this.widget.data == null) this.widget.data = {}; if (this.props) { Object.keys(this.props).forEach(prop => { if (this.widget.data.hasOwnProperty(prop)) { diff --git a/src/web/app/mobile/views/components/widget-container.vue b/src/web/app/mobile/views/components/widget-container.vue index 1775188a93..81dde8f7a9 100644 --- a/src/web/app/mobile/views/components/widget-container.vue +++ b/src/web/app/mobile/views/components/widget-container.vue @@ -33,7 +33,7 @@ export default Vue.extend({ &.naked background transparent !important - border none !important + box-shadow none !important > header > .title diff --git a/src/web/app/mobile/views/components/widgets/activity.vue b/src/web/app/mobile/views/components/widgets/activity.vue index c3fe63f264..c4d30b07af 100644 --- a/src/web/app/mobile/views/components/widgets/activity.vue +++ b/src/web/app/mobile/views/components/widgets/activity.vue @@ -1,6 +1,6 @@