@salesforcedevs/docs-components 1.3.300-scroll-alpha → 1.3.300-scroll-alpha1

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.300-scroll-alpha",
3
+ "version": "1.3.300-scroll-alpha1",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -385,6 +385,7 @@ mark {
385
385
  /* offset page jump link due to fixed header */
386
386
  [id] {
387
387
  scroll-margin-top: calc(
388
- var(--dx-g-global-header-height) + var(--dx-g-doc-header-height) + 50px
388
+ var(--dx-g-global-header-height) + var(--dx-g-doc-header-height) +
389
+ var(--dx-g-spacing-2xl)
389
390
  );
390
391
  }
@@ -43,7 +43,8 @@ dx-toc {
43
43
  /* offset page jump link due to fixed header */
44
44
  ::slotted(doc-heading) {
45
45
  scroll-margin-top: calc(
46
- var(--dx-g-global-header-height) + var(--dx-g-doc-header-height) + 50px
46
+ var(--dx-g-global-header-height) + var(--dx-g-doc-header-height) +
47
+ var(--dx-g-spacing-2xl)
47
48
  );
48
49
  }
49
50
 
@@ -263,7 +263,7 @@ export default class ContentLayout extends LightningElement {
263
263
  globalNavHeight +
264
264
  docHeaderHeight +
265
265
  docPhaseEl.getBoundingClientRect().height +
266
- 50
266
+ 40
267
267
  }px`;
268
268
  });
269
269