Skip to content

Commit

Permalink
Simplify Sidebar styles and remove Navbar excess spacing
Browse files Browse the repository at this point in the history
Replaced `.item` selector with `& *` in Sidebar to encompass all child elements and ensure text overflow handling with ellipsis. Additionally, removed unnecessary blank lines in the NavbarMobileV2 module.
  • Loading branch information
leolabdev committed Sep 20, 2024
1 parent b3f36a8 commit 1ba4d86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@
flex-direction: column;
gap: 10px;

.item {
& * {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: opacity 0.4s ease, visibility 0.4s ease;
}

Expand Down Expand Up @@ -102,4 +101,4 @@
display: flex;
margin: 20px 0;
justify-content: center;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@
outline: none;
box-shadow: none;
}


background-color: rgba(0, 0, 0, 0.8);
color: var(--secondary-color) !important;
font-size: var(--font-size-m) !important;
Expand Down

0 comments on commit 1ba4d86

Please sign in to comment.