Skip to content

Commit

Permalink
Fix styling bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
loehnertz committed Jul 7, 2024
1 parent cbe54c5 commit 3ee98bd
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
},
}
12 changes: 0 additions & 12 deletions src/assets/main.css
Original file line number Diff line number Diff line change
@@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/CustomSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
<input
id="incrementTime"
:value="incrementTime"
@change="updateIncrementTime"
class="input"
min="1"
type="number"
@change="updateIncrementTime"
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/TimerAdjustment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
:disabled="timerRunning"
:value="offsetTime"
class="input"
type="number"
max="100"
min="-100"
type="number"
@input="updateOffsetTime"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/AboutView.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="container">
<div class="container columns is-centered">
<div class="box">
<h1 class="title is-1 has-text-centered">🍵 Tea Timer</h1>
<p class="content">
Expand Down
10 changes: 2 additions & 8 deletions src/views/BrewView.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="container">
<div class="box">
<div class="container columns is-centered">
<div class="box has-text-centered">
<SettingsPanel
v-if="showSettings"
:customDefaults="customDefaults"
Expand Down Expand Up @@ -189,9 +189,3 @@ export default defineComponent({
},
})
</script>

<style scoped>
.box {
text-align: center;
}
</style>
2 changes: 1 addition & 1 deletion src/views/HomeView.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="container">
<div class="container columns is-centered">
<div class="box has-text-centered">
<h1 class="title is-1">🍵 Tea Timer</h1>
<p class="content">
Expand Down
2 changes: 1 addition & 1 deletion src/views/NotFoundView.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="container">
<div class="container columns is-centered">
<div class="box">
<h1 class="title is-1 has-text-centered">Page Not Found</h1>
<p class="content">
Expand Down

0 comments on commit 3ee98bd

Please sign in to comment.