Fix scrollbar issues in Gradebook
Test plan: - Create course with 50 students and 10 assignments - In Gradebook, use both scrollbars - Neither should interfere with content Fixes EVAL-4172 Change-Id: I8cbefc111770b27e177e731e1987bcad3f2f6ec4 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/347826 Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com> QA-Review: Kai Bjorkman <kbjorkman@instructure.com> Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
This commit is contained in:
parent
c3a5771141
commit
989cb0fe0c
|
@ -1103,17 +1103,3 @@ $gradebook_checkbox_size: 16px;
|
|||
#anonymous-speed-grader-alert-container {
|
||||
min-width: 35rem;
|
||||
}
|
||||
|
||||
.slick-viewport::-webkit-scrollbar {
|
||||
height: 3px;
|
||||
width: 3px;
|
||||
}
|
||||
|
||||
.slick-viewport::-webkit-scrollbar-track {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
.slick-viewport::-webkit-scrollbar-thumb {
|
||||
background-color: darkgrey;
|
||||
border-radius: 10px;
|
||||
}
|
|
@ -2187,7 +2187,7 @@ if (typeof Slick === 'undefined') {
|
|||
return
|
||||
}
|
||||
numberOfRows =
|
||||
getDataLengthIncludingAddNew() + (options.leaveSpaceForNewRows ? numVisibleRows - 1 : 0)
|
||||
getDataLengthIncludingAddNew() + (options.leaveSpaceForNewRows ? numVisibleRows - 1 : 0) + 1
|
||||
|
||||
var oldViewportHasVScroll = viewportHasVScroll_1
|
||||
// with autoHeight, we do not need to accommodate the vertical scroll bar
|
||||
|
|
Loading…
Reference in New Issue