From f907a0ea77619797aa1909fe243e868e0910e384 Mon Sep 17 00:00:00 2001 From: Panonim Date: Fri, 23 Jan 2026 23:14:35 +0100 Subject: [PATCH] Fixed bell button --- .gitignore | 3 +-- README.md | 2 ++ backend/go.mod | 2 +- frontend/src/styles/main.css | 2 +- frontend/src/ui/manager.js | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 46bf659..5989e6a 100644 --- a/.gitignore +++ b/.gitignore @@ -25,5 +25,4 @@ Thumbs.db # Other Project.md -Makefile -backend/test-email.sh \ No newline at end of file +Makefile \ No newline at end of file diff --git a/README.md b/README.md index 64c2202..a89ddf6 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ I wrote this app for my girlfriend because she was always forgetting her promise ## Get started - If you want to try it quickly, see `DEPLOY.md` for Docker-based deployment instructions. +[![Docker Build and Push](https://github.com/Panonim/kept/actions/workflows/deploy.yml/badge.svg)](https://github.com/Panonim/kept/actions/workflows/deploy.yml) + ## Contributing & support - Bug reports and feature requests: open an issue. - Happy to accept PRs — small, focused changes are easiest to review. diff --git a/backend/go.mod b/backend/go.mod index 8c66c18..a5de866 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -23,5 +23,5 @@ require ( github.com/valyala/fasthttp v1.69.0 // indirect golang.org/x/sys v0.40.0 // indirect gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect - gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df // indirect + gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df // direct ) diff --git a/frontend/src/styles/main.css b/frontend/src/styles/main.css index 9eb6d0e..710e2b9 100644 --- a/frontend/src/styles/main.css +++ b/frontend/src/styles/main.css @@ -1293,7 +1293,7 @@ textarea { .modal { padding: 0; /* remove gap so sheet can reach device bottom */ align-items: flex-end; - justify-content: flex-end; + justify-content: center; } .modal-content { diff --git a/frontend/src/ui/manager.js b/frontend/src/ui/manager.js index d0254a1..5c1bdb3 100644 --- a/frontend/src/ui/manager.js +++ b/frontend/src/ui/manager.js @@ -234,7 +234,7 @@ export class UIManager { const emailInput = document.getElementById('user-email'); // Update push notification status - if (Notification.permission === 'granted') { + if ('Notification' in window && Notification.permission === 'granted') { enablePushBtn.textContent = '✓ Enabled'; enablePushBtn.classList.add('enabled'); enablePushBtn.disabled = true;