Skip to content

Commit

Permalink
Fix text wrapping issue on editor navbar
Browse files Browse the repository at this point in the history
Fixes hackclub#2535

Fixed the text-wrapping issue. Hope it helps!
  • Loading branch information
asmahdi08 committed Nov 6, 2024
1 parent 094eb1f commit beb476d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/navbar-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1419,4 +1419,4 @@ export default function EditorNavbar(props: EditorNavbarProps) {
)}
</>
);
}
}
5 changes: 3 additions & 2 deletions src/components/navbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
position: relative;
text-align: center;
justify-content: space-between;
white-space: nowrap; /* P3baf */
overflow: hidden; /* Pad2a */
}

.container ul {
Expand Down Expand Up @@ -107,7 +109,6 @@
font-weight: bold;
gap: 6px;
padding: 0 10px;
margin-left: 10px;
}

.logo .longImg {
Expand Down Expand Up @@ -485,4 +486,4 @@

.newPRButton {
margin-left: 10px;
}
}

0 comments on commit beb476d

Please sign in to comment.