From bee8e0826a3ebf73180a483e2b349ff836dd2239 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Fri, 5 Apr 2024 20:33:56 +0300 Subject: [PATCH] [#4707] added constrasting border to the default email template btn style --- CHANGELOG.md | 2 ++ mails/templates/layout.go | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 220cacbe5..c1da4d49b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ - Fixed '~' auto wildcard wrapping when the param has escaped `%` character ([#4704](https://github.com/pocketbase/pocketbase/discussions/4704)). +- Added contrasting border around the default mail template btn style to make it slightly more visible in case the mail client renders the content on a dark background ([#4707](https://github.com/pocketbase/pocketbase/issues/4707)). + - Updated Go deps and bumped the min Go version in the GitHub release action to Go 1.22.2 since it comes with [some `net/http` security and bug fixes](https://github.com/golang/go/issues?q=milestone%3AGo1.22.2). diff --git a/mails/templates/layout.go b/mails/templates/layout.go index 7a43ad920..87acfd9da 100644 --- a/mails/templates/layout.go +++ b/mails/templates/layout.go @@ -54,6 +54,7 @@ const Layout = ` display: inline-block; vertical-align: top; border: 0; + outline: 1px solid #e5e5e5; cursor: pointer; color: #fff !important; background: #16161a !important;