@salesforcedevs/docs-components
Advanced tools
Comparing version 1.3.300-scroll-alpha3 to 1.3.300-scroll-alpha4
{ | ||
"name": "@salesforcedevs/docs-components", | ||
"version": "1.3.300-scroll-alpha3", | ||
"version": "1.3.300-scroll-alpha4", | ||
"description": "Docs Lightning web components for DSC", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -222,3 +222,3 @@ /* eslint-disable @lwc/lwc/no-document-query */ | ||
if(!docPhaseEl) { | ||
if (!docPhaseEl) { | ||
docPhaseEl = ( | ||
@@ -241,3 +241,3 @@ this.template.querySelector("[name=version-banner]")! as any | ||
const docHeaderHeight = docHeaderEl.getBoundingClientRect().height; | ||
const totalHeaderHeight = globalNavHeight + docHeaderHeight + 40; | ||
const totalHeaderHeight = globalNavHeight + docHeaderHeight; | ||
@@ -265,5 +265,6 @@ // Selecting the doc section heading and RNB here. | ||
totalHeaderHeight + | ||
docPhaseEl.getBoundingClientRect().height | ||
docPhaseEl.getBoundingClientRect().height + | ||
40 | ||
}px` | ||
: `${totalHeaderHeight}px`; | ||
: `${totalHeaderHeight + 40}px`; | ||
}); | ||
@@ -270,0 +271,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
254851
6537