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:
parent
b00279885f
commit
a3e36fca8d
3 changed files with 13 additions and 2 deletions
|
@ -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
|
||||
// --------------------------------------------------
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue