Skip to content

Commit

Permalink
fix(sidebar): fix width styles and overflow in list
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelgsouza committed Dec 18, 2020
1 parent fe89608 commit 33a529f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Sidebar/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
box-sizing: border-box;

&__content {
width: 100%;
width: 28rem;
box-sizing: border-box;
display: inline-flex;
background-color: $color-primary-dark;
min-height: 100vh;
flex-direction: column;
min-width: 28rem;
transition: all .2s ease;

&:hover .sb-button {
Expand Down Expand Up @@ -61,6 +60,7 @@
flex: 1;
display: flex;
flex-direction: column;
overflow-x: hidden;
}

&-item {
Expand Down Expand Up @@ -126,7 +126,7 @@
// modifiers
&--minimize {
.sb-sidebar__content {
min-width: 9rem;
width: 9rem;
}

.sb-icon,
Expand Down

0 comments on commit 33a529f

Please sign in to comment.