From 4d50cd9b71a6c2513eb15ef0489047cd1ee08a06 Mon Sep 17 00:00:00 2001 From: Kyle Tse Date: Tue, 24 Feb 2026 09:11:35 +0000 Subject: [PATCH] fix: bold formatting not visible in rich text editor (#2731) The editor_content CSS class used --page-body-font-weight-bold without a fallback value. This variable is only injected in the resume preview context (via use-css-variables.tsx), so in the editor UI the variable was undefined, causing tags to render with no visible weight change. Adding a 'bold' fallback ensures bold text is correctly displayed in the editor regardless of whether the CSS variable is set. Fixes #2730 --- src/components/input/rich-input.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/input/rich-input.module.css b/src/components/input/rich-input.module.css index 9d8e1ad9a..75a539d85 100644 --- a/src/components/input/rich-input.module.css +++ b/src/components/input/rich-input.module.css @@ -167,11 +167,11 @@ } strong { - font-weight: var(--page-body-font-weight-bold); + font-weight: var(--page-body-font-weight-bold, bold); } a { - font-weight: var(--page-body-font-weight-bold); + font-weight: var(--page-body-font-weight-bold, bold); text-decoration: underline; text-underline-offset: 0.15rem; }