Skip to content

Commit

Permalink
Smoother overflow in navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroIC committed Apr 29, 2024
1 parent 062b70f commit 9722121
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webapp/src/common/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ const NavBar: React.FC<{}> = () =>
<AppBar className="nav-appBar" sx={
{
display: 'flex',
flexDirection: 'row',
flexWrap: 'nowrap',
flexDirection: 'row',
alignItems: 'flex-start',
justifyContent: 'flex-start',
width: '100%',
Expand All @@ -77,6 +76,7 @@ const NavBar: React.FC<{}> = () =>
<Container sx={{ maxWidth: '100% !important' }}>
<Grid
container
flexWrap={'nowrap'}
direction="row"
alignItems="center"
justifyContent="space-between"
Expand Down
8 changes: 7 additions & 1 deletion webapp/src/common/nav.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.navbar {
width:100%;
height: 50px;
display: flex;
align-items: center;
}
Expand All @@ -20,6 +19,13 @@
}

.logo{
word-wrap: break-word;
white-space: pre-wrap;
word-break: break-word;
overflow: hidden;
display: flex;
flex-wrap: nowrap;
height: 40px;
font-weight: 500;
font-size: xx-large;
margin-right: 15px !important;
Expand Down

0 comments on commit 9722121

Please sign in to comment.