Skip to content

Commit

Permalink
Fixes oppia#3819: Strange dragging behaviour of play later list in le…
Browse files Browse the repository at this point in the history
…arner dashboard. (oppia#6544)

* Added overflow : visible and top : 0

* Fix spaceing

* Updated comments
  • Loading branch information
NishealJ authored and nithusha21 committed May 3, 2019
1 parent 3723a8f commit 3f1eeb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,9 @@ oppia.controller('LearnerDashboard', [
},
sort: function(e, ui) {
/* eslint-disable quote-props */
// Reset the position of the window on scrolling. This keeps the mouse
// position and elements in sync.
// Making top : 0px to avoid irregular change in position.
ui.helper.css(
{'top': ui.position.top + $(window).scrollTop() + 'px'});
{'top': '0 px'});
/* eslint-enable quote-props */
},
update: function(e, ui) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,10 @@ <h1 class="stat-value"><[subscriptionsList.length]></h1>
</div>
<style>

body {
overflow-x: visible;
}

.oppia-learner-dashboard-container {
margin: 0 auto 30px auto;
max-width: 1400px;
Expand Down

0 comments on commit 3f1eeb3

Please sign in to comment.