From: Chocobozzz Date: Tue, 8 Jan 2019 14:06:58 +0000 (+0100) Subject: Correctly scroll in notification preferences X-Git-Tag: v1.2.0-rc.1~41 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07a982363fcc6f838dd3f5c2039a2affaea3b0b2;p=oweals%2Fpeertube.git Correctly scroll in notification preferences --- diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html index d2810c343..b98a1087e 100644 --- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html +++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html @@ -1,5 +1,5 @@
- Notification preferences + Notification preferences
diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html index 2eb7dd56e..ad64f28fe 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html @@ -4,10 +4,8 @@ Video quota: {{ userVideoQuotaUsed | bytes: 0 }} / {{ userVideoQuota }} - - - - +
Profile
+
Notifications
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts index 545d6aeda..cff37a7d6 100644 --- a/client/src/app/app-routing.module.ts +++ b/client/src/app/app-routing.module.ts @@ -43,7 +43,8 @@ const routes: Routes = [ imports: [ RouterModule.forRoot(routes, { useHash: Boolean(history.pushState) === false, - preloadingStrategy: PreloadSelectedModulesList + preloadingStrategy: PreloadSelectedModulesList, + anchorScrolling: 'enabled' }) ], providers: [