summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/main.js2
-rw-r--r--frontend/manifest.json1
-rw-r--r--frontend/style.css2
-rw-r--r--frontend/timer/index.html2
4 files changed, 4 insertions, 3 deletions
diff --git a/frontend/main.js b/frontend/main.js
index cfacc86..1d3202d 100644
--- a/frontend/main.js
+++ b/frontend/main.js
@@ -10,7 +10,7 @@ const PUBLIC_VAPID_KEY = "BCvVfKfWBtHKtzdakJfhYy604yTn0_FgZxy2sNtxcQm6YyC3qdzBBu
// --- REGISTER SERVICE WORKERS
if ('serviceWorker' in navigator) {
- navigator.serviceWorker.register('/sw.js', {
+ navigator.serviceWorker.register('/sw.js?v=0.2', {
scope: '/',
});
}
diff --git a/frontend/manifest.json b/frontend/manifest.json
index 4bbf313..ba957f7 100644
--- a/frontend/manifest.json
+++ b/frontend/manifest.json
@@ -1,6 +1,7 @@
{
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
"name": "LaundryWeb",
+ "short_name": "LaundryWeb",
"icons": [
{
"src": "/assets/icons/512.png",
diff --git a/frontend/style.css b/frontend/style.css
index 4234bce..dcab2c0 100644
--- a/frontend/style.css
+++ b/frontend/style.css
@@ -376,7 +376,7 @@ fieldset {
fieldset > img {
border-radius: 16px;
- height: 164px;
+ width: 100%;
}
legend {
diff --git a/frontend/timer/index.html b/frontend/timer/index.html
index 935cbd5..d379f6d 100644
--- a/frontend/timer/index.html
+++ b/frontend/timer/index.html
@@ -20,7 +20,7 @@
<img src="/assets/img/washer_off.png" alt="" style="width: 2rem; margin-top: 3rem; margin-right: auto; margin-left: auto; opacity: .5;">
<span style="opacity: .5; margin-top: .5rem; margin-bottom: 2rem; display: block;">You currently don't have any laundry.</span>
</div>
- <fieldset class="section-container">
+ <fieldset class="section-container" style="display: none;">
<legend>Advisory</legend>
<img src="/assets/img/advisory/0.png" alt="">
</fieldset>