mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
Merge branch 'bugfix/jschatz1/sidebar-fixes/02-18-16' into 'master'
Uses cross browser niceScroll to do scrolling on sidebar. Fixes: #13544 Firefox does not support `-webkit-scrollbar` and there is no alternative for FF. So for example Gmail falls back to no fancy scrollbar. Stuck with jQuery, which is a good solution, since we already use it. This also leaves the default scrollbar as is.  Also fixes horz scroll issue:  cc @creamzy @dzaporozhets See merge request !2873
This commit is contained in:
committed by
Rémy Coutable
parent
df20569727
commit
7655891972
@@ -15,3 +15,5 @@ class @IssuableContext
|
||||
block.find('.selectbox').show()
|
||||
block.find('.value').hide()
|
||||
block.find('.js-select2').select2("open")
|
||||
|
||||
$(".right-sidebar").niceScroll()
|
||||
|
||||
@@ -117,20 +117,4 @@ body {
|
||||
&.ui_violet {
|
||||
@include gitlab-theme(#9988CC, $theme-violet, #443366, #332255);
|
||||
}
|
||||
}
|
||||
|
||||
::-webkit-scrollbar{
|
||||
width: 3px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb{
|
||||
background-color:$theme-charcoal; border-radius: 0;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover{
|
||||
background-color:$theme-charcoal;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track{
|
||||
background-color:#FFF;
|
||||
}
|
||||
Reference in New Issue
Block a user