diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-14 15:12:20 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-14 15:12:20 +0100 |
commit | f57ad0d22c527328b1412aa1c8c3f0d4819219ca (patch) | |
tree | d825d48ab3352c257440aba067cacfc0a1fa85a8 | |
parent | 674a66bbda7ceb7aed3c2e6aefddc2793207d94b (diff) | |
download | PeerTube-f57ad0d22c527328b1412aa1c8c3f0d4819219ca.tar.gz PeerTube-f57ad0d22c527328b1412aa1c8c3f0d4819219ca.tar.zst PeerTube-f57ad0d22c527328b1412aa1c8c3f0d4819219ca.zip |
Fix scroll in notifications page
-rw-r--r-- | client/src/app/menu/avatar-notification.component.scss | 1 | ||||
-rw-r--r-- | client/src/app/shared/users/user-notifications.component.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/menu/avatar-notification.component.scss b/client/src/app/menu/avatar-notification.component.scss index 47d04ace3..807385022 100644 --- a/client/src/app/menu/avatar-notification.component.scss +++ b/client/src/app/menu/avatar-notification.component.scss | |||
@@ -13,6 +13,7 @@ | |||
13 | max-height: 500px; | 13 | max-height: 500px; |
14 | min-width: 200px; | 14 | min-width: 200px; |
15 | box-shadow: 0 6px 14px rgba(0, 0, 0, 0.30); | 15 | box-shadow: 0 6px 14px rgba(0, 0, 0, 0.30); |
16 | overflow-y: auto; | ||
16 | 17 | ||
17 | .notifications-header { | 18 | .notifications-header { |
18 | display: flex; | 19 | display: flex; |
diff --git a/client/src/app/shared/users/user-notifications.component.ts b/client/src/app/shared/users/user-notifications.component.ts index 682116226..50c495a9a 100644 --- a/client/src/app/shared/users/user-notifications.component.ts +++ b/client/src/app/shared/users/user-notifications.component.ts | |||
@@ -21,7 +21,7 @@ export class UserNotificationsComponent implements OnInit { | |||
21 | 21 | ||
22 | componentPagination: ComponentPagination = { | 22 | componentPagination: ComponentPagination = { |
23 | currentPage: 1, | 23 | currentPage: 1, |
24 | itemsPerPage: 10, | 24 | itemsPerPage: 20, |
25 | totalItems: null | 25 | totalItems: null |
26 | } | 26 | } |
27 | 27 | ||