From 1cf23a6f86bbe101eea18e2af77b31f4c4e567ca Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Sun, 1 Feb 2026 12:41:00 -0500 Subject: [PATCH] Fix markdown message line height, closes #1139 --- docs/releases.md | 1 + web/src/components/Notifications.jsx | 2 +- web/src/components/Preferences.jsx | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/releases.md b/docs/releases.md index 77588cf1..70b4171c 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -1669,6 +1669,7 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release **Bug fixes + maintenance:** +* Web: Fix markdown message line height to match plain text (1.5 instead of 1.2) ([#1139](https://github.com/binwiederhier/ntfy/issues/1139), thanks to [@etfz](https://github.com/etfz)) * Web: Add validation feedback for service URL when adding user ([#1566](https://github.com/binwiederhier/ntfy/issues/1566), thanks to [@jermanuts](https://github.com/jermanuts)) * Docs: Remove obsolete `version` field from docker-compose examples ([#1333](https://github.com/binwiederhier/ntfy/issues/1333), thanks to [@seals187](https://github.com/seals187) for reporting and [@cyb3rko](https://github.com/cyb3rko) for fixing) * Docs: Fix Kustomize config - correct volumeMount path and volumes indentation ([#1367](https://github.com/binwiederhier/ntfy/issues/1367), thanks to [@toby-griffiths](https://github.com/toby-griffiths)) diff --git a/web/src/components/Notifications.jsx b/web/src/components/Notifications.jsx index 449b238b..fba4ba61 100644 --- a/web/src/components/Notifications.jsx +++ b/web/src/components/Notifications.jsx @@ -188,7 +188,7 @@ const MarkdownContainer = styled("div")` } p { - line-height: 1.2; + line-height: 1.5; } blockquote, diff --git a/web/src/components/Preferences.jsx b/web/src/components/Preferences.jsx index bd97da3a..5f46a663 100644 --- a/web/src/components/Preferences.jsx +++ b/web/src/components/Preferences.jsx @@ -473,8 +473,8 @@ const UserDialog = (props) => { baseUrl.length > 0 && !baseUrlValid ? t("prefs_users_dialog_base_url_invalid") : baseUrlExists - ? t("prefs_users_dialog_base_url_exists") - : "" + ? t("prefs_users_dialog_base_url_exists") + : "" } /> )}