From f0259f84d3e38cc03fc4d79a3a72758f91842fac Mon Sep 17 00:00:00 2001 From: neobooru <50623835+neobooru@users.noreply.github.com> Date: Sat, 21 Mar 2020 01:12:15 +0100 Subject: [PATCH] Stuff --- src/css/style.css | 2 +- src/manifest.json | 6 ++ src/popup/App.vue | 127 +++++++++++++++++++++++--------------- src/scripts/background.ts | 3 +- tsconfig.json | 2 +- webpack.config.js | 2 - 6 files changed, 85 insertions(+), 57 deletions(-) diff --git a/src/css/style.css b/src/css/style.css index 2a425b4..e4280db 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -23,7 +23,7 @@ button.primary { input[type="text"] { background-color: #fafafa; border: 1px solid #eee; - height: 30px; + height: 26px; width: 100%; } diff --git a/src/manifest.json b/src/manifest.json index 1886e70..fdbd9b8 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -26,6 +26,12 @@ ] } ], + "background": { + "scripts": [ + "scripts/background.js" + ], + "persistent": false + }, "browser_specific_settings": { "gecko": { "id": "{8cc2afc8-6c4a-4d2b-9513-46e46e5b4208}" diff --git a/src/popup/App.vue b/src/popup/App.vue index b85ecb2..6c51013 100644 --- a/src/popup/App.vue +++ b/src/popup/App.vue @@ -81,6 +81,14 @@