Commit b218ac99 authored by Shaphen Pangburn's avatar Shaphen Pangburn

[AFP-131 Shaphen Pangburn]: Modify styling for dropdown menu

parent 9f41f017
...@@ -84,3 +84,13 @@ ...@@ -84,3 +84,13 @@
animation: fadeInUp; animation: fadeInUp;
animation-duration: 0.3s; animation-duration: 0.3s;
} }
.dropdown-item {
display: flex;
justify-content: center;
}
.dropdown-item a {
color: rgba(0, 0, 0, 0.74);
text-decoration: none;
}
\ No newline at end of file
...@@ -56,7 +56,6 @@ export default class Header extends Component { ...@@ -56,7 +56,6 @@ export default class Header extends Component {
<Navbar.Text className="nav-bar-text" id="white-color">Hello Guest</Navbar.Text> : <Navbar.Text className="nav-bar-text" id="white-color">Hello Guest</Navbar.Text> :
<NavDropdown className="nav-bar-text" title={"Hello "+userName} id="collasible-nav-dropdown"> <NavDropdown className="nav-bar-text" title={"Hello "+userName} id="collasible-nav-dropdown">
<NavDropdown.Item ><NavLink to="/orders">Order History</NavLink></NavDropdown.Item> <NavDropdown.Item ><NavLink to="/orders">Order History</NavLink></NavDropdown.Item>
<NavDropdown.Item><NavLink to="/product-market">Products</NavLink></NavDropdown.Item>
<NavDropdown.Item> <NavDropdown.Item>
<GoogleLogout <GoogleLogout
clientId={clientId} clientId={clientId}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment