Skip to content

Commit

Permalink
Somewhat fix logout button styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Akzuu committed Jan 4, 2025
1 parent baa8553 commit 69ce207
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/components/Navbar/Navbar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ nav {

.logout {
align-self: center;
height: 42px;
margin: 0rem 1rem;
}

@media (max-width: 780px) {
Expand Down
11 changes: 6 additions & 5 deletions src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,12 @@ export const Navbar: React.FC = () => {
</div>
</CustomLink>
</div>
<TertiaryButton
className={styles.logout}
onClick={handleLogoutButtonClick}
text="Kirjaudu ulos"
/>
<div className={styles.logout}>
<TertiaryButton
onClick={handleLogoutButtonClick}
text="Kirjaudu ulos"
/>
</div>
</Nav>
</div>
</BootNavbar.Collapse>
Expand Down

0 comments on commit 69ce207

Please sign in to comment.