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: mobile logo
shuai13dccb4e2942
diff --git a/ui/src/components/Header/index.tsx b/ui/src/components/Header/index.tsxindex d4af750c..f56ad023 100644--- a/ui/src/components/Header/index.tsx+++ b/ui/src/components/Header/index.tsx@@ -74,11 +74,19 @@ const Header: FC = () => {<div className="d-flex justify-content-between align-items-center nav-grow flex-nowrap"><Navbar.Brand to="/" as={Link} className="lh-1 me-0 me-sm-3">{brandingInfo.logo ? (- <img- className="logo rounded-1 me-0"- src={brandingInfo.logo}- alt=""- />+ <>+ <img+ className="d-none d-lg-block log rounded-1 me-0"+ src={brandingInfo.logo}+ alt=""+ />++ <img+ className="logo d-block d-lg-none rounded-1 me-0"+ src={brandingInfo.mobile_logo || brandingInfo.mobile_logo}+ alt=""+ />+ </>) : (<span>{siteInfo.name || 'Answer'}</span>)}