diff options
author | Kim <1877318+kimsible@users.noreply.github.com> | 2020-08-10 15:57:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 15:57:37 +0200 |
commit | 4a53fc8204d5a3a3d5a77b3dfe128f0985153bf8 (patch) | |
tree | 249e48c8ff24b6e5f3f696a49d024a2596f7a7ea /client/src/app/+my-account/my-account-settings | |
parent | 207612dff83401a9642f9cb0a63a5a6efcd5f590 (diff) | |
download | PeerTube-4a53fc8204d5a3a3d5a77b3dfe128f0985153bf8.tar.gz PeerTube-4a53fc8204d5a3a3d5a77b3dfe128f0985153bf8.tar.zst PeerTube-4a53fc8204d5a3a3d5a77b3dfe128f0985153bf8.zip |
Add new anchors in my-settings and handle offset sub-menu height (#3032)
* Add anchors setting and handle offset with sub-meu
* Use PeerTube scroll logic
* Add anchor for top my-settings
* Improve scroller with smooth behavior and css offset
* Fix anchor position when using history navigation
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Diffstat (limited to 'client/src/app/+my-account/my-account-settings')
-rw-r--r-- | client/src/app/+my-account/my-account-settings/my-account-settings.component.html | 2 |
1 files changed, 2 insertions, 0 deletions
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 2ad014f01..de8353851 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 | |||
@@ -1,5 +1,7 @@ | |||
1 | <h1 class="sr-only" i18n>Settings</h1> | 1 | <h1 class="sr-only" i18n>Settings</h1> |
2 | <div class="form-row"> <!-- preview --> | 2 | <div class="form-row"> <!-- preview --> |
3 | <div class="anchor" id="top"></div> <!-- top anchor --> | ||
4 | |||
3 | <div class="form-group col-12 col-lg-4 col-xl-3"></div> | 5 | <div class="form-group col-12 col-lg-4 col-xl-3"></div> |
4 | 6 | ||
5 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> | 7 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> |