A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix(header): #948
haitao(lj)e49637417d5a
diff --git a/ui/src/components/Header/index.scss b/ui/src/components/Header/index.scssindex 199e1b6f..c32e4a72 100644--- a/ui/src/components/Header/index.scss+++ b/ui/src/components/Header/index.scss@@ -10,6 +10,10 @@font-weight: bold;color: #fff;}+ &.icon-link {+ width: 46px;+ height: 38px;+ }}.placeholder-search::placeholder {color: rgba(255, 255, 255, 0.75);diff --git a/ui/src/components/Header/index.tsx b/ui/src/components/Header/index.tsxindex cafff08f..b01344db 100644--- a/ui/src/components/Header/index.tsx+++ b/ui/src/components/Header/index.tsx@@ -107,8 +107,8 @@ const Header: FC = () => {<Nav.Linkas={NavLink}to="/users/notifications/inbox"- className="me-2 position-relative">- <div className="px-2 text-white text-opacity-75">+ className="icon-link d-flex align-items-center justify-content-center p-0 me-2 position-relative">+ <div className="text-white text-opacity-75"><Icon name="bell-fill" className="fs-5" /></div>{(redDot?.inbox || 0) > 0 && (@@ -119,8 +119,8 @@ const Header: FC = () => {<Nav.Linkas={Link}to="/users/notifications/achievement"- className="me-2 position-relative">- <div className="px-2 text-white text-opacity-75">+ className="icon-link d-flex align-items-center justify-content-center p-0 me-2 position-relative">+ <div className="text-white text-opacity-75"><Icon name="trophy-fill" className="fs-5" /></div>{(redDot?.achievement || 0) > 0 && (@@ -134,7 +134,7 @@ const Header: FC = () => {id="dropdown-basic"as="a"className="no-toggle pointer">- <Avatar size="38px" avatar={user?.avatar} />+ <Avatar size="36px" avatar={user?.avatar} /></Dropdown.Toggle><Dropdown.Menu>