mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
Switch navbar classes to ids
This commit is contained in:
parent
ae88eee146
commit
fe54ae9715
1 changed files with 6 additions and 6 deletions
|
@ -104,7 +104,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
</NavLink>
|
</NavLink>
|
||||||
{person && (
|
{person && (
|
||||||
<ul className="navbar-nav d-flex flex-row ml-auto d-md-none">
|
<ul className="navbar-nav d-flex flex-row ml-auto d-md-none">
|
||||||
<li className="nav-item nav-item-icon">
|
<li id="navMessages" className="nav-item nav-item-icon">
|
||||||
<NavLink
|
<NavLink
|
||||||
to="/inbox"
|
to="/inbox"
|
||||||
className="p-1 nav-link border-0 nav-messages"
|
className="p-1 nav-link border-0 nav-messages"
|
||||||
|
@ -233,7 +233,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul id="navbarIcons" className="navbar-nav">
|
<ul id="navbarIcons" className="navbar-nav">
|
||||||
<li className="nav-item nav-item-search">
|
<li id="navSearch" className="nav-item">
|
||||||
<NavLink
|
<NavLink
|
||||||
to="/search"
|
to="/search"
|
||||||
className="nav-link"
|
className="nav-link"
|
||||||
|
@ -244,7 +244,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</li>
|
</li>
|
||||||
{amAdmin() && (
|
{amAdmin() && (
|
||||||
<li className="nav-item nav-item-admin">
|
<li id="navAdmin" className="nav-item">
|
||||||
<NavLink
|
<NavLink
|
||||||
to="/admin"
|
to="/admin"
|
||||||
className="nav-link"
|
className="nav-link"
|
||||||
|
@ -257,7 +257,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
)}
|
)}
|
||||||
{person ? (
|
{person ? (
|
||||||
<>
|
<>
|
||||||
<li className="nav-item nav-item-messages">
|
<li id="navMessages" className="nav-item">
|
||||||
<NavLink
|
<NavLink
|
||||||
className="nav-link"
|
className="nav-link"
|
||||||
to="/inbox"
|
to="/inbox"
|
||||||
|
@ -276,7 +276,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</li>
|
</li>
|
||||||
{this.moderatesSomething && (
|
{this.moderatesSomething && (
|
||||||
<li className="nav-item nav-item-moderation">
|
<li id="navModeration" className="nav-item">
|
||||||
<NavLink
|
<NavLink
|
||||||
className="nav-link"
|
className="nav-link"
|
||||||
to="/reports"
|
to="/reports"
|
||||||
|
@ -296,7 +296,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
</li>
|
</li>
|
||||||
)}
|
)}
|
||||||
{amAdmin() && (
|
{amAdmin() && (
|
||||||
<li className="nav-item nav-item-applications">
|
<li id="navApplications" className="nav-item">
|
||||||
<NavLink
|
<NavLink
|
||||||
to="/registration_applications"
|
to="/registration_applications"
|
||||||
className="nav-link"
|
className="nav-link"
|
||||||
|
|
Loading…
Reference in a new issue