@salesforcedevs/docs-components 1.3.182 → 1.3.190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "1.3.182",
3
+ "version": "1.3.190",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -24,5 +24,5 @@
24
24
  "@types/lodash.orderby": "^4.6.7",
25
25
  "@types/lodash.uniqby": "^4.7.7"
26
26
  },
27
- "gitHead": "d09929965dcdf69c8e8613a5bb7d597f3b76422e"
27
+ "gitHead": "497da468695115bb4b604763f8039aaf6b1cbc86"
28
28
  }
@@ -408,9 +408,9 @@ export default class ContentLayout extends LightningElement {
408
408
  ) as HTMLElement;
409
409
 
410
410
  const headerHeight =
411
- docHeaderEl.offsetHeight +
412
- globalNavEl.offsetHeight +
413
- contextNavEl.offsetHeight;
411
+ docHeaderEl?.offsetHeight +
412
+ globalNavEl?.offsetHeight +
413
+ contextNavEl?.offsetHeight;
414
414
 
415
415
  const docPhaseEl = (
416
416
  this.template.querySelector("[name=doc-phase]")! as any