From 5d23c9d8631fd0946633e94d678820f9f10d0540 Mon Sep 17 00:00:00 2001 From: Suryansh pathak <34577232+Suryansh5545@users.noreply.github.com> Date: Sat, 11 Jan 2020 01:54:21 +0530 Subject: [PATCH 1/3] Fixed two scroll up --- src/app/components/privacy-policy/privacy-policy.component.html | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/components/privacy-policy/privacy-policy.component.html b/src/app/components/privacy-policy/privacy-policy.component.html index 8edc7479d..e3fbc6f92 100644 --- a/src/app/components/privacy-policy/privacy-policy.component.html +++ b/src/app/components/privacy-policy/privacy-policy.component.html @@ -73,7 +73,6 @@
This privacy policy has been compiled to better serve those who are concerned with how their 'Personally Identifiable Information' (PII) is being used online. PII, as described in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website. From 11f363ffaeddbedbaab6e6bd5c2e64c571fea513 Mon Sep 17 00:00:00 2001 From: Suryansh pathak <34577232+Suryansh5545@users.noreply.github.com> Date: Sat, 11 Jan 2020 01:58:43 +0530 Subject: [PATCH 2/3] Removed scroll up button css --- .../privacy-policy/privacy-policy.component.scss | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/app/components/privacy-policy/privacy-policy.component.scss b/src/app/components/privacy-policy/privacy-policy.component.scss index 8a8e471de..80c8f7de5 100644 --- a/src/app/components/privacy-policy/privacy-policy.component.scss +++ b/src/app/components/privacy-policy/privacy-policy.component.scss @@ -51,17 +51,7 @@ color: $blue-lighter !important; font-weight: $fw-regular; } - .scroll-to-top { - position: fixed; - top: 80%; - right: 4%; - height: 50px; - cursor: pointer; - z-index: 4 !important; - &:hover { - height: 55px; - } - } + .privacy-title { margin-top: 10px; font-size: $fs-34; From 066efac05acf035cb0a23c9cd5d6bb3b10fc7bbc Mon Sep 17 00:00:00 2001 From: Suryansh pathak <34577232+Suryansh5545@users.noreply.github.com> Date: Sat, 11 Jan 2020 01:59:50 +0530 Subject: [PATCH 3/3] Removed code for scroll button from .ts file --- .../components/privacy-policy/privacy-policy.component.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/app/components/privacy-policy/privacy-policy.component.ts b/src/app/components/privacy-policy/privacy-policy.component.ts index d355abf46..26d4f57a7 100644 --- a/src/app/components/privacy-policy/privacy-policy.component.ts +++ b/src/app/components/privacy-policy/privacy-policy.component.ts @@ -140,10 +140,4 @@ export class PrivacyPolicyComponent implements OnInit { this.highlightSectionTitle(ELEMENT_ID); } - /** - * Scrolls to the top of the page - */ - scrollToTop() { - this.document.getElementById('privacy-policy-title').scrollIntoView({behavior: 'smooth'}); - } }