From 86be87e2dc593be29f9927c9bf8a3bf869b9e810 Mon Sep 17 00:00:00 2001 From: Daniele Tonon Date: Fri, 27 Oct 2023 18:19:16 +0200 Subject: [PATCH] Fix the flickering of the notes' left border --- tailwind.config.js | 3 +++ templates/note.html | 2 +- templates/profile.html | 2 +- templates/relay.html | 2 +- utils.go | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 1456e5d..90e3433 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -12,6 +12,9 @@ module.exports = { crimson: '#bc1150', garnet: '#42091e' }, + borderWidth: { + '05rem': '0.5rem', // You can define custom border widths in rem units + }, typography: ({theme}) => ({ /* for markdown html content */ DEFAULT: { diff --git a/templates/note.html b/templates/note.html index 7e25bd2..9d843c6 100644 --- a/templates/note.html +++ b/templates/note.html @@ -99,7 +99,7 @@ >
{{ if (not (eq "" .Subject))}}

{{.Subject}}

diff --git a/templates/profile.html b/templates/profile.html index 7a8ff5c..b6b50f8 100644 --- a/templates/profile.html +++ b/templates/profile.html @@ -133,7 +133,7 @@

Last Notes

{{range $i, $ee := .LastNotes}}