Skip to content

Commit

Permalink
Merge pull request TryGhost#4696 from PaulAdamDavis/paginated-users-s…
Browse files Browse the repository at this point in the history
…croll

Fix broken user list paginated scrolling
  • Loading branch information
jaswilli committed Dec 21, 2014
2 parents b002798 + a3e36fc commit a4bcc02
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions core/client/assets/sass/layouts/users.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,24 @@
// Styles for the Users list page
// Slug: /ghost/settings/users/
//
// * Container
// * Users List
// * Role Labels
// * User Actions
// * Invite User Modal
// ------------------------------------------------------------


//
// Wrapper
// --------------------------------------------------

.users-list-wrapper {
overflow: auto;
height: 100%;
}


//
// Users List
// --------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion core/client/templates/settings/users/index.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{#view "settings/users/users-list-view"}}
{{#view "settings/users/users-list-view" class="users-list-wrapper js-users-list-view"}}
<header class="settings-view-header user-list-header">
{{#link-to "settings" class="btn btn-default btn-back"}}Back{{/link-to}}
<h2 class="page-title">Users</h2>
Expand Down
2 changes: 1 addition & 1 deletion core/client/views/settings/users/users-list-view.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import PaginationViewMixin from 'ghost/mixins/pagination-view-infinite-scroll';

var UsersListView = Ember.View.extend(PaginationViewMixin, {
classNames: ['settings-users']
classNames: ['js-users-list-view']
});

export default UsersListView;

0 comments on commit a4bcc02

Please sign in to comment.