fix: navbar style adjustment

This commit is contained in:
shuai 2022-11-01 16:15:30 +08:00
parent 792a9642ac
commit 875a32aeda
2 changed files with 12 additions and 2 deletions

View File

@ -65,3 +65,13 @@
} }
@media (max-width: 576px) {
#header {
.logo {
max-width: 93px;
max-height: auto;
}
}
}

View File

@ -72,8 +72,8 @@ const Header: FC = () => {
id="navBarToggle" id="navBarToggle"
/> />
<div className="left-wrap d-flex justify-content-between align-items-center nav-grow"> <div className="d-flex justify-content-between align-items-center nav-grow flex-nowrap">
<Navbar.Brand to="/" as={Link} className="lh-1"> <Navbar.Brand to="/" as={Link} className="lh-1 me-0 me-sm-3">
{interfaceInfo.logo ? ( {interfaceInfo.logo ? (
<img <img
className="logo rounded-1 me-0" className="logo rounded-1 me-0"