@salesforcedevs/docs-components 1.18.9-rnb-scroll4 → 1.18.9-rnb-scroll5

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.18.9-rnb-scroll4",
3
+ "version": "1.18.9-rnb-scroll5",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -275,7 +275,7 @@ export default class ContentLayout extends LightningElement {
275
275
  const toc = rightNavBarEl.querySelector("dx-toc");
276
276
  const listContainer = toc?.shadowRoot?.querySelector(".toc") as HTMLElement;
277
277
  const viewportHeight = window.innerHeight;
278
- const maxHeight = viewportHeight - (docPhaseElHeight + totalHeaderHeight);
278
+ const maxHeight = viewportHeight - (docPhaseElHeight + totalHeaderHeight + 24); //added some margin of doc-toc
279
279
 
280
280
  rightNavBarEl.style.top = `${totalHeaderHeight + docPhaseElHeight}px`;
281
281
  listContainer.style.maxHeight = `${maxHeight}px`;