Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions torchci/components/layout/NavBar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
z-index: 1000;
backdrop-filter: blur(1px);
-webkit-backdrop-filter: blur(1px);
flex-wrap: wrap;
gap: 1rem;
}

.navbar li {
padding: 0.9rem 1rem;
padding: 0.7rem 0.8rem;
position: relative;
display: flex;
align-items: center;
Expand Down Expand Up @@ -53,7 +55,7 @@
}

.dropdowntitle {
padding: 0.7rem 1rem;
padding: 0.6rem 0.8rem;
cursor: pointer;
display: flex;
align-items: center;
Expand All @@ -71,3 +73,19 @@
display: none;
border-radius: 4px;
}

/* Responsive wrapping */
@media screen and (max-width: 1350px) {
.navbar > div:first-child {
width: 100%;
margin-bottom: 0.5rem;
}

.navbar > div:last-child {
width: 100%;
}

.navbarlinkslist {
flex-wrap: wrap;
}
}
2 changes: 1 addition & 1 deletion torchci/components/layout/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function NavBar() {
<li>
<ThemeModePicker />
</li>
<li style={{ padding: "0 1rem" }}>
<li>
<LoginSection></LoginSection>
</li>
</ul>
Expand Down