0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fix broken user list paginated scrolling

Closes #4695

- Adds a new class to the template and minor CSS to allow user list scroll events to work
This commit is contained in:
Paul Adam Davis 2014-12-21 22:05:55 +00:00
parent b00279885f
commit a3e36fca8d
3 changed files with 13 additions and 2 deletions

View file

@ -4,6 +4,7 @@
// Styles for the Users list page
// Slug: /ghost/settings/users/
//
// * Container
// * Users List
// * Role Labels
// * User Actions
@ -11,6 +12,16 @@
// ------------------------------------------------------------
//
// Wrapper
// --------------------------------------------------
.users-list-wrapper {
overflow: auto;
height: 100%;
}
//
// Users List
// --------------------------------------------------

View file

@ -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>

View file

@ -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;