From 5a20d75c56d213395485ac6f1ab55c5cf09db071 Mon Sep 17 00:00:00 2001 From: Mitchel van Eijgen Date: Mon, 1 Feb 2021 16:46:38 +0100 Subject: [PATCH] App doenst build anymore --- package.json | 2 +- src/components/Devices/Devices.vue | 2 -- src/components/Start/SidebarResult.vue | 10 +++++++--- src/store/index.js | 2 +- src/views/Start.vue | 12 +----------- 5 files changed, 10 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index ad421e7..eb4784d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "screenshots-electron-app", - "version": "1.1.0", + "version": "1.1.1", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/src/components/Devices/Devices.vue b/src/components/Devices/Devices.vue index b3b743f..d301c62 100755 --- a/src/components/Devices/Devices.vue +++ b/src/components/Devices/Devices.vue @@ -37,11 +37,9 @@ export default { @import "@/assets/scss/_variables.scss"; #component-Devices { h2 { - // text-transform: lowercase; color: $brand-three; padding-left: $base-margin; margin: 0; - // font-weight: normal; font-size: 110px; margin-bottom: -0.7em; pointer-events: none; diff --git a/src/components/Start/SidebarResult.vue b/src/components/Start/SidebarResult.vue index 2a977cf..181a22d 100755 --- a/src/components/Start/SidebarResult.vue +++ b/src/components/Start/SidebarResult.vue @@ -50,8 +50,13 @@ export default { // getSelectedDevices() { // return this.$store.getters["getSelectedDevices"]; // }, - getAdvanced() { - return this.$store.getters.getState("advanced"); + getAdvanced: { + get() { + return this.$store.getters.getState("advanced"); + }, + set(val) { + return val; + }, }, getLoading() { return this.$store.getters["getLoading"]; @@ -97,5 +102,4 @@ export default { .description { margin-bottom: $base-margin * 2; } -/* Item in view leave to this postion */ \ No newline at end of file diff --git a/src/store/index.js b/src/store/index.js index 3b6e356..de45cd3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -318,7 +318,7 @@ export default new Vuex.Store({ loading: false, path: '', pathChrome: '', - customCSS: '* {background: yellow; }', + customCSS: '', generating: false, amount: 100, quality: 60, diff --git a/src/views/Start.vue b/src/views/Start.vue index 1c326a1..8c40f44 100755 --- a/src/views/Start.vue +++ b/src/views/Start.vue @@ -65,6 +65,7 @@ export default { this.$store.commit("SET_SITEMAP", [ "https://decodedbags.com/pages/about", ]); + this.$store.commit("SET_CUSTOM_CSS", ["* {background: yellow; }"]); } //------------------------------------------------------// // ⌘ macOS @@ -119,10 +120,6 @@ body { font-size: 22px; } } -@include media-breakpoint-up(md) { - body { - } -} .alloy-cards { font-size: 16px; @include media-breakpoint-up(lg) { @@ -172,10 +169,6 @@ h2 { } h3 { font-size: 22px; - - // @include media-breakpoint-up(lg) { - // font-size: 30px; - // } } h4 { font-size: 20px; @@ -298,7 +291,6 @@ button, padding: 0; display: inline; font-size: inherit; - // font-size: 16px; color: inherit; width: auto; font-weight: 400; @@ -334,7 +326,6 @@ button, color: $brand-three; } .content { - // margin-top: 40px; width: 100%; } $offset: 400px; @@ -353,7 +344,6 @@ aside { height: 100%; } main { - // #component-Devices { @include media-breakpoint-up(lg) { margin-left: $offset; }