From 8f00321a60138af43637171941afebc3e6f9e469 Mon Sep 17 00:00:00 2001 From: fullex <106392080+0xfullex@users.noreply.github.com> Date: Thu, 27 Nov 2025 10:31:34 +0800 Subject: [PATCH] fix: inconsistent text color in release notes last line (#11480) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move color and font-size styles from p selector to container level in UpdateNotesWrapper. This ensures all content (including li elements not wrapped in p tags) uses consistent color. The issue occurred because .replace(/\n/g, '\n\n') creates a "loose list" in Markdown where most list items get wrapped in

tags, but the last item (without trailing newline) may not, causing it to inherit a different color from the parent .markdown class. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude --- src/renderer/src/pages/settings/AboutSettings.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/pages/settings/AboutSettings.tsx b/src/renderer/src/pages/settings/AboutSettings.tsx index 5feb2fa5bb..3bf02a518d 100644 --- a/src/renderer/src/pages/settings/AboutSettings.tsx +++ b/src/renderer/src/pages/settings/AboutSettings.tsx @@ -404,11 +404,11 @@ const UpdateNotesWrapper = styled.div` margin: 8px 0; background-color: var(--color-bg-2); border-radius: 6px; + color: var(--color-text-2); + font-size: 14px; p { margin: 0; - color: var(--color-text-2); - font-size: 14px; } `