Skip to content

Commit

Permalink
Remove scrollbars in list items and remove unneeded overflows
Browse files Browse the repository at this point in the history
  • Loading branch information
javivelasco committed Dec 19, 2015
1 parent 3505941 commit da1c109
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@

.listItem {
position: relative;
overflow: hidden;
> [data-react-toolbox='ripple'] {
overflow: hidden;
}
}

.item {
Expand All @@ -48,7 +50,6 @@
min-height: $list-item-min-height;
align-items: center;
padding: 0 $list-horizontal-padding;
overflow: hidden;
color: $color-text;
&.selectable:not(.disabled):hover {
cursor: pointer;
Expand Down
4 changes: 4 additions & 0 deletions docs/app/components/layout/main/components/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
.list {
flex-grow: 1;
overflow-y: auto;
&::-webkit-scrollbar {
width: 0;
height: 0;
}
}

.item {
Expand Down

0 comments on commit da1c109

Please sign in to comment.