From 005e9659e1fcf12b69ce6c035f18c0c8982ec30a Mon Sep 17 00:00:00 2001 From: t0ng7u Date: Sat, 23 Aug 2025 03:40:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(header):=20prevent=20Notific?= =?UTF-8?q?ationButton=20from=20shrinking=20when=20unread=20badge=20appear?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove `size='small'` when the button is wrapped by `Badge` - Keep button dimensions consistent with/without badge - Preserve 18px icon size and existing styles/accessibility - Lint check passed with no issues Files: web/src/components/layout/HeaderBar/NotificationButton.jsx --- web/src/components/layout/HeaderBar/NotificationButton.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/layout/HeaderBar/NotificationButton.jsx b/web/src/components/layout/HeaderBar/NotificationButton.jsx index 04fba1e6..dd75de9b 100644 --- a/web/src/components/layout/HeaderBar/NotificationButton.jsx +++ b/web/src/components/layout/HeaderBar/NotificationButton.jsx @@ -34,7 +34,7 @@ const NotificationButton = ({ unreadCount, onNoticeOpen, t }) => { if (unreadCount > 0) { return ( -