Skip to content

Commit d8e7727

Browse files
committed
moving sign out button outside of menu hamburger
1 parent 9cafd27 commit d8e7727

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/NavBar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
font-weight: bold;
4242
border: none;
4343

44-
&:hover {
44+
@media (hover: hover) {
4545
background-color: $secondary-blue;
4646
color: $primary-beige;
4747
}

src/components/authenticated/AuthenticatedNavBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function AuthenticatedNavBar() {
1414
expand="md"
1515
className="bg-secondary rounded-bottom-3 pt-0"
1616
>
17-
<Container>
17+
<Container className="align-items-center justify-content-evenly">
1818
<Navbar.Brand className="bg-primary rounded-bottom-3 text-center mb-3 px-3 text-dark fw-bolder shadow">
1919
GrocerEase
2020
</Navbar.Brand>
@@ -33,8 +33,8 @@ export function AuthenticatedNavBar() {
3333
Manage List
3434
</Nav.Link>
3535
</Nav>
36-
<SignOutButton />
3736
</Navbar.Collapse>
37+
<SignOutButton />
3838
</Container>
3939
</Navbar>
4040
);

0 commit comments

Comments
 (0)