Skip to content

Commit

Permalink
navbar width fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc23007 committed Nov 19, 2024
1 parent 8788591 commit 420ec88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Navbar = () => {
const handleNavCollapse = () => setIsNavCollapsed(!isNavCollapsed);
return (
<nav className="navbar navbar-expand-lg bg-body-tertiary d-flex w-100">
<div className="container-fluid">
<div className="container px-2 px-lg-3 px-xl-5">
<a className="navbar-brand" href="#">Navbar</a>
<button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded={!isNavCollapsed ? true : false} aria-label="Toggle navigation" onClick={handleNavCollapse}>
<span className="navbar-toggler-icon"></span>
Expand Down

0 comments on commit 420ec88

Please sign in to comment.