diff --git a/package.json b/package.json index 3f05a38..b1fe407 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "single-instance": "^0.0.1" }, "devDependencies": { - "electron": "^6.0.10", + "electron": "^8.0.1", "electron-builder": "^21.2.0" }, "build": { diff --git a/resources/js/index.js b/resources/js/index.js index 8699067..ca77ea9 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -439,7 +439,7 @@ function updateNavigation() { function updateWindowTitle() { if (selectedService === null) { ipcRenderer.send('updateWindowTitle', null); - } else if(services[selectedService].viewReady) { + } else if (services[selectedService].viewReady) { ipcRenderer.send('updateWindowTitle', selectedService, services[selectedService].view.getWebContents().getTitle()); } } @@ -452,4 +452,4 @@ function goForward() { function goBack() { let view = services[selectedService].view; if (view) view.getWebContents().goBack(); -} \ No newline at end of file +} diff --git a/resources/style/index.css b/resources/style/index.css index 726e0bc..5734982 100644 --- a/resources/style/index.css +++ b/resources/style/index.css @@ -34,17 +34,20 @@ body { background-color: rgb(43, 43, 43); } + #service-selector .drag-target button::after { position: absolute; left: 0; top: 0; width: 100%; } + #service-last-drag-position:not(.hidden):not(.drag-target) { display: block; padding: 16px 4px; background-color: #fff5; } + #service-last-drag-position:not(.drag-target)::after { content: ""; display: block; @@ -193,4 +196,4 @@ body { top: 50%; transform: translate(-50%, -50%); z-index: -1; -} \ No newline at end of file +} diff --git a/src/main.js b/src/main.js index 5494bc6..d477546 100644 --- a/src/main.js +++ b/src/main.js @@ -215,4 +215,4 @@ function listIcons(set) { } console.log('Starting app'); -app.on('ready', createWindow); \ No newline at end of file +app.on('ready', createWindow);