Skip to content

Commit

Permalink
refactor(NavBar): remove settings tab on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
tymmesyde committed Jul 4, 2024
1 parent f6c4e66 commit 098a6cb
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/common/NavBar/VerticalNavBar/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
align-items: center;
gap: 1rem;
width: var(--vertical-nav-bar-size);
padding: 1rem 0;
background-color: transparent;
overflow-y: auto;
scrollbar-width: none;
Expand All @@ -20,14 +21,6 @@
.nav-tab-button {
width: calc(var(--vertical-nav-bar-size) - 1.5rem);
height: calc(var(--vertical-nav-bar-size) - 1.5rem);

&:first-child {
margin-top: 1rem;
}

&:last-child {
margin-bottom: 1rem;
}
}
}

Expand All @@ -45,12 +38,18 @@
.nav-tab-button {
flex: none;

&:first-child {
margin-top: 0;
&:last-child {
display: none;
}

}
}
}

@media only screen and (max-height: @minimum) {
.vertical-nav-bar-container {
.nav-tab-button {
&:last-child {
margin-bottom: 0;
display: none;
}
}
}
Expand Down

0 comments on commit 098a6cb

Please sign in to comment.