From fe54ae971539a32a451362c06df7aa884b33cb95 Mon Sep 17 00:00:00 2001 From: Zetaphor <zetaphor@hey.com> Date: Fri, 16 Jun 2023 18:28:50 -0300 Subject: [PATCH] Switch navbar classes to ids --- src/shared/components/app/navbar.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/shared/components/app/navbar.tsx b/src/shared/components/app/navbar.tsx index 4afe2e1..c17837c 100644 --- a/src/shared/components/app/navbar.tsx +++ b/src/shared/components/app/navbar.tsx @@ -104,7 +104,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> { </NavLink> {person && ( <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 to="/inbox" className="p-1 nav-link border-0 nav-messages" @@ -233,7 +233,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> { </li> </ul> <ul id="navbarIcons" className="navbar-nav"> - <li className="nav-item nav-item-search"> + <li id="navSearch" className="nav-item"> <NavLink to="/search" className="nav-link" @@ -244,7 +244,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> { </NavLink> </li> {amAdmin() && ( - <li className="nav-item nav-item-admin"> + <li id="navAdmin" className="nav-item"> <NavLink to="/admin" className="nav-link" @@ -257,7 +257,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> { )} {person ? ( <> - <li className="nav-item nav-item-messages"> + <li id="navMessages" className="nav-item"> <NavLink className="nav-link" to="/inbox" @@ -276,7 +276,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> { </NavLink> </li> {this.moderatesSomething && ( - <li className="nav-item nav-item-moderation"> + <li id="navModeration" className="nav-item"> <NavLink className="nav-link" to="/reports" @@ -296,7 +296,7 @@ export class Navbar extends Component<NavbarProps, NavbarState> { </li> )} {amAdmin() && ( - <li className="nav-item nav-item-applications"> + <li id="navApplications" className="nav-item"> <NavLink to="/registration_applications" className="nav-link" -- 2.44.1