Skip to content

Commit

Permalink
add scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Bayfield committed Sep 3, 2014
1 parent 138fae4 commit cd38bdf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
13 changes: 13 additions & 0 deletions less/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,17 @@
max-height: 300px;
overflow-x: hidden;
}

.dropdown-menu-scrollable::-webkit-scrollbar {
width: 1em;
}

.dropdown-menu-scrollable::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.dropdown-menu-scrollable::-webkit-scrollbar-thumb {
background-color: @gray-lighter;
outline: 1px solid @gray-light;
}
}
10 changes: 10 additions & 0 deletions theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,14 @@
max-height: 300px;
overflow-x: hidden;
}
.dropdown-menu-scrollable::-webkit-scrollbar {
width: 1em;
}
.dropdown-menu-scrollable::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
.dropdown-menu-scrollable::-webkit-scrollbar-thumb {
background-color: #eeeeee;
outline: 1px solid #777777;
}
}

0 comments on commit cd38bdf

Please sign in to comment.