diff --git a/common/lib/xmodule/xmodule/css/combinedopenended/display.scss b/common/lib/xmodule/xmodule/css/combinedopenended/display.scss index 8d921f828b..9d4cbc6647 100644 --- a/common/lib/xmodule/xmodule/css/combinedopenended/display.scss +++ b/common/lib/xmodule/xmodule/css/combinedopenended/display.scss @@ -478,6 +478,13 @@ section.open-ended-child { margin-left: .75rem; } + ul.rubric-list + { + list-style-type: none; + padding:0; + margin:0; + } + ol { list-style: decimal outside none; margin-bottom: lh(); diff --git a/common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee b/common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee index 9cd1a1cf1b..7dc410b19c 100644 --- a/common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee +++ b/common/lib/xmodule/xmodule/js/src/peergrading/peer_grading_problem.coffee @@ -239,7 +239,7 @@ class @PeerGradingProblem # finds the scores for each rubric category get_score_list: () => # find the number of categories: - num_categories = $('table.rubric tr').length + num_categories = $('ul.rubric-list li').length score_lst = [] # get the score for each one diff --git a/lms/static/sass/course/_rubric.scss b/lms/static/sass/course/_rubric.scss index 43dd88b626..92a8b0c574 100644 --- a/lms/static/sass/course/_rubric.scss +++ b/lms/static/sass/course/_rubric.scss @@ -46,11 +46,11 @@ position: relative; font-size: 16px; } - - ul + ul.rubric-list { list-style-type: none; + padding:0; + margin:0; } - } diff --git a/lms/templates/open_ended_rubric.html b/lms/templates/open_ended_rubric.html index 3ce848cf8d..8d7f6be544 100644 --- a/lms/templates/open_ended_rubric.html +++ b/lms/templates/open_ended_rubric.html @@ -11,7 +11,7 @@ % for i in range(len(categories)): <% category = categories[i] %> ${category['description']}
-