@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
|
@@ -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");
|