Commit c0b612ff authored by Phil Hughes's avatar Phil Hughes Committed by Annabel Dunstone Gray

Removes nicescroll from issuable sidebar

parent 032cbcdb
...@@ -59,18 +59,6 @@ gl.issueBoards.BoardSidebar = Vue.extend({ ...@@ -59,18 +59,6 @@ gl.issueBoards.BoardSidebar = Vue.extend({
}, },
deep: true deep: true
}, },
issue () {
if (this.showSidebar) {
this.$nextTick(() => {
$('.right-sidebar').getNiceScroll(0).doScrollTop(0, 0);
$('.right-sidebar').getNiceScroll().resize();
});
}
this.issue = this.detail.issue;
this.list = this.detail.list;
},
deep: true
}, },
methods: { methods: {
closeSidebar () { closeSidebar () {
......
...@@ -47,7 +47,6 @@ import UsersSelect from './users_select'; ...@@ -47,7 +47,6 @@ import UsersSelect from './users_select';
Cookies.set('collapsed_gutter', true); Cookies.set('collapsed_gutter', true);
} }
}); });
$(".right-sidebar").niceScroll();
} }
IssuableContext.prototype.initParticipants = function() { IssuableContext.prototype.initParticipants = function() {
......
...@@ -197,6 +197,15 @@ ...@@ -197,6 +197,15 @@
background: $gray-light; background: $gray-light;
padding: 10px 20px; padding: 10px 20px;
z-index: 200; z-index: 200;
overflow: hidden;
.issuable-sidebar {
width: calc(100% + 100px);
height: 100%;
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
&.right-sidebar-expanded { &.right-sidebar-expanded {
width: $gutter_width; width: $gutter_width;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment