@salesforcedevs/docs-components 1.18.9-rnb-scroll3-doc → 1.18.9-rnb-scroll4

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-scroll3-doc",
3
+ "version": "1.18.9-rnb-scroll4",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -269,6 +269,7 @@ export default class ContentLayout extends LightningElement {
269
269
  });
270
270
 
271
271
  // Adjusting the right nav bar on scroll.
272
+ // setting maxheight to make the RNB scrollable based on different parent elements
272
273
  if (rightNavBarEl) {
273
274
  const docPhaseElHeight = docPhaseEl ? docPhaseEl.getBoundingClientRect().height : 0;
274
275
  const toc = rightNavBarEl.querySelector("dx-toc");