From 3ee98bd65c19c5ee63f149570e91736e73bb34dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20L=C3=B6hnertz?= Date: Sun, 7 Jul 2024 23:57:42 +0200 Subject: [PATCH] Fix styling bugs --- .eslintrc.cjs | 6 +++--- src/assets/main.css | 12 ------------ src/components/CustomSettings.vue | 2 +- src/components/TimerAdjustment.vue | 2 +- src/views/AboutView.vue | 2 +- src/views/BrewView.vue | 10 ++-------- src/views/HomeView.vue | 2 +- src/views/NotFoundView.vue | 2 +- 8 files changed, 10 insertions(+), 28 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 845f606..c50eb11 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -8,12 +8,12 @@ module.exports = { 'eslint:recommended', '@vue/eslint-config-typescript', '@vue/eslint-config-prettier/skip-formatting', - 'plugin:prettier/recommended' + 'plugin:prettier/recommended', ], parserOptions: { - ecmaVersion: 'latest' + ecmaVersion: 'latest', }, rules: { - 'comma-dangle': ['error', 'always-multiline'] + 'comma-dangle': ['error', 'always-multiline'], }, } diff --git a/src/assets/main.css b/src/assets/main.css index 0362ac1..ab83b82 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -1,17 +1,5 @@ @import 'https://cdn.jsdelivr.net/npm/bulma@1/css/bulma.min.css'; -body { - display: flex; - justify-content: center; - align-items: center; - min-height: 100vh; -} - -.box { - min-width: 350px; - max-width: 750px; -} - .buttons .button { flex: 1; } diff --git a/src/components/CustomSettings.vue b/src/components/CustomSettings.vue index 8e4a749..3aac60b 100644 --- a/src/components/CustomSettings.vue +++ b/src/components/CustomSettings.vue @@ -21,10 +21,10 @@ diff --git a/src/components/TimerAdjustment.vue b/src/components/TimerAdjustment.vue index acb9810..12731b0 100644 --- a/src/components/TimerAdjustment.vue +++ b/src/components/TimerAdjustment.vue @@ -8,9 +8,9 @@ :disabled="timerRunning" :value="offsetTime" class="input" - type="number" max="100" min="-100" + type="number" @input="updateOffsetTime" /> diff --git a/src/views/AboutView.vue b/src/views/AboutView.vue index 6af7791..5be4064 100644 --- a/src/views/AboutView.vue +++ b/src/views/AboutView.vue @@ -1,5 +1,5 @@