fix: Make navbar container full screen width #1536

This commit is contained in:
Jay Sitter 2023-06-25 14:41:20 -04:00
parent 6b5ea004a6
commit 4800a408fd

View file

@ -79,8 +79,9 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
const siteView = this.props.siteRes?.site_view; const siteView = this.props.siteRes?.site_view;
const person = UserService.Instance.myUserInfo?.local_user_view.person; const person = UserService.Instance.myUserInfo?.local_user_view.person;
return ( return (
<div className="shadow-sm">
<nav <nav
className="navbar navbar-expand-md navbar-light shadow-sm p-0 px-3 container-lg" className="navbar navbar-expand-md navbar-light p-0 px-3 container-lg"
id="navbar" id="navbar"
> >
<NavLink <NavLink
@ -321,7 +322,9 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
"unread_registration_applications", "unread_registration_applications",
{ {
count: Number(this.unreadApplicationCount), count: Number(this.unreadApplicationCount),
formattedCount: numToSI(this.unreadApplicationCount), formattedCount: numToSI(
this.unreadApplicationCount
),
} }
)} )}
onMouseUp={linkEvent(this, handleCollapseClick)} onMouseUp={linkEvent(this, handleCollapseClick)}
@ -428,6 +431,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
</ul> </ul>
</div> </div>
</nav> </nav>
</div>
); );
} }