Skip to content

Commit

Permalink
Improved menu layout
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Jul 4, 2024
1 parent 229f768 commit 5025660
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/spa/src/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function logout(e: React.SyntheticEvent) {

const showSimpleLogout = () => {
return (
<a className="nav-link text-dark" href="#" onClick={logout}>
<a href="#" onClick={logout}>
Logout
</a>
);
Expand Down
12 changes: 4 additions & 8 deletions apps/spa/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,16 @@ html {
}
}

.nav-link {
padding: 0;
}

.nav-item a {
padding: 0 .5rem;
}

a.navbar-brand {
white-space: normal;
text-align: center;
word-break: break-all;
}

.navbar-nav {
gap: 1rem;
}

.app-center {
flex: 1;
display: flex;
Expand Down

0 comments on commit 5025660

Please sign in to comment.