diff --git a/src/main/index.js b/src/main/index.js index b16e9f3..0f2b97a 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -191,7 +191,7 @@ function createWindow() { process.platform === 'darwin' ? path.join(__static, 'icon--macos.png') : path.join(__static, 'icon.png'), - resizable: false, + resizable: true, useContentSize: true, width: 360, height: 478, @@ -201,6 +201,7 @@ function createWindow() { enableRemoteModule: true } }) + mainWindow.setAspectRatio(360 / 478) mainWindow.loadURL(winURL) diff --git a/src/renderer/App.vue b/src/renderer/App.vue index a4ccf9a..1baa3f8 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -60,6 +60,9 @@ export default { diff --git a/src/renderer/components/drawer/Drawer-settings.vue b/src/renderer/components/drawer/Drawer-settings.vue index 536fa2c..f2948ec 100644 --- a/src/renderer/components/drawer/Drawer-settings.vue +++ b/src/renderer/components/drawer/Drawer-settings.vue @@ -255,12 +255,12 @@ export default { diff --git a/src/renderer/components/drawer/Drawer-theme.vue b/src/renderer/components/drawer/Drawer-theme.vue index f529885..e28b399 100644 --- a/src/renderer/components/drawer/Drawer-theme.vue +++ b/src/renderer/components/drawer/Drawer-theme.vue @@ -28,9 +28,9 @@ .Container { - max-height: calc(100% - 36px); + max-height: calc(100% - 10vw); overflow-y: auto; } .Setting-wrapper { align-items: center; - border-left: 3px solid; - border-radius: 0 4px 4px 0; + border-left: 0.83vw solid; + border-radius: 0 1.1vw 1.1vw 0; display: flex; justify-content: space-between; - margin: 12px 0; - min-height: 48px; - padding: 0 12px; + margin: 3.3vw 0; + min-height: 13.3vw; + padding: 0 3.3vw; } .Setting-title { - font-size: 14px; - letter-spacing: 0.05em; + font-size: 0.7rem; + letter-spacing: 0.05rem; } diff --git a/src/renderer/components/drawer/Drawer-timer.vue b/src/renderer/components/drawer/Drawer-timer.vue index 735b983..63f1de6 100644 --- a/src/renderer/components/drawer/Drawer-timer.vue +++ b/src/renderer/components/drawer/Drawer-timer.vue @@ -201,24 +201,24 @@ export default {

+

Reset

@@ -31,7 +31,7 @@ y="0px" viewBox="0 0 8 12" xml:space="preserve" - height="15px" + height="4vw" class="Icon--skip" > @@ -85,7 +85,7 @@ viewBox="-467 269 24 24" style="enable-background:new -467 269 24 24;" xml:space="preserve" - height="20px" + height="5vw" class="Icon--muted" v-else > @@ -264,10 +264,10 @@ export default { } .Slider-wrapper { - padding: 8px; + padding: 2vw; position: absolute; - top: -61px; - right: -29px; + top: -17vw; + right: -8vw; } .Slider { @@ -275,7 +275,7 @@ export default { background-color: var(--color-background-lightest); } &::-webkit-slider-thumb { - margin-top: -7px; + margin-top: -2vw; transition: $transitionDefault; &:hover { background-color: var(--color-accent); diff --git a/src/renderer/components/timer/Timer.vue b/src/renderer/components/timer/Timer.vue index 8e714a8..e3353c3 100644 --- a/src/renderer/components/timer/Timer.vue +++ b/src/renderer/components/timer/Timer.vue @@ -30,7 +30,7 @@ y="0px" viewBox="0 0 7.6 15" xml:space="preserve" - height="15px" + height="4vw" class="Icon--start" >