mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 19:31:26 +00:00
fix: Make navbar container full screen width #1536
This commit is contained in:
parent
6b5ea004a6
commit
4800a408fd
1 changed files with 308 additions and 304 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue