diff --git a/framework/core/js/src/forum/states/NotificationListState.ts b/framework/core/js/src/forum/states/NotificationListState.ts index 2b54c76a77..7c47cbf961 100644 --- a/framework/core/js/src/forum/states/NotificationListState.ts +++ b/framework/core/js/src/forum/states/NotificationListState.ts @@ -4,7 +4,7 @@ import Notification from '../../common/models/Notification'; export default class NotificationListState extends PaginatedListState { constructor() { - super({}, 1, 10); + super({}, 1, 20); } get type(): string { diff --git a/framework/core/less/forum/NotificationsDropdown.less b/framework/core/less/forum/NotificationsDropdown.less index ad66c57d25..75dd1eb6d9 100644 --- a/framework/core/less/forum/NotificationsDropdown.less +++ b/framework/core/less/forum/NotificationsDropdown.less @@ -3,7 +3,7 @@ padding: 0; .NotificationList-content { - max-height: 70vh; + max-height: ~"min(70vh, 800px)"; overflow: auto; } } diff --git a/framework/core/src/Api/Controller/ListNotificationsController.php b/framework/core/src/Api/Controller/ListNotificationsController.php index 12fc3b9271..e6320e2148 100644 --- a/framework/core/src/Api/Controller/ListNotificationsController.php +++ b/framework/core/src/Api/Controller/ListNotificationsController.php @@ -33,11 +33,6 @@ class ListNotificationsController extends AbstractListController 'subject.discussion' ]; - /** - * {@inheritdoc} - */ - public $limit = 10; - /** * @var NotificationRepository */