From bc977909cc890cabc68850604f9177dc5e13392a Mon Sep 17 00:00:00 2001 From: "Apple\\Apple" Date: Sat, 7 Jun 2025 01:07:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(ui):=20ensure=20consistent?= =?UTF-8?q?=20background=20colors=20for=20header=20action=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix background color rendering issues for notification bell, theme toggle, and language switcher buttons in the header bar. These buttons were missing !important declarations in their CSS classes, causing inconsistent styling across different devices where other styles could override the intended background colors. Changes: - Add !important to background color classes for notification button - Add !important to background color classes for theme toggle button - Add !important to background color classes for language switcher button - Ensure all header action buttons now have consistent styling matching the user avatar dropdown button This resolves visual inconsistencies where these buttons would appear without proper background colors on certain devices or screen configurations. --- web/src/components/layout/HeaderBar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/components/layout/HeaderBar.js b/web/src/components/layout/HeaderBar.js index c78ba299..79fe4432 100644 --- a/web/src/components/layout/HeaderBar.js +++ b/web/src/components/layout/HeaderBar.js @@ -468,7 +468,7 @@ const HeaderBar = () => { onClick={() => setNoticeVisible(true)} theme="borderless" type="tertiary" - className="!p-1.5 !text-current focus:!bg-semi-color-fill-1 dark:focus:!bg-gray-700 !rounded-full bg-semi-color-fill-0 dark:bg-semi-color-fill-1 hover:bg-semi-color-fill-1 dark:hover:bg-semi-color-fill-2" + className="!p-1.5 !text-current focus:!bg-semi-color-fill-1 dark:focus:!bg-gray-700 !rounded-full !bg-semi-color-fill-0 dark:!bg-semi-color-fill-1 hover:!bg-semi-color-fill-1 dark:hover:!bg-semi-color-fill-2" />