@salesforcedevs/docs-components 1.3.262 → 1.3.267

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.262",
3
+ "version": "1.3.267",
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": "fa38a93ede50fc83e6bf65da359a8db469288e9b"
27
+ "gitHead": "cd4268483d1b4f56f3dc2ed6fc384bae2d8714d0"
28
28
  }
@@ -88,20 +88,12 @@ export default class AmfTopic extends LightningElement {
88
88
  }
89
89
  container?.appendChild(element as Node);
90
90
 
91
- this.scrollToTop(container);
92
- }
93
-
94
- scrollToTop(container: Element) {
95
91
  const isTabletOrDesktop = window.matchMedia(
96
92
  `(min-width: ${TABLE_SIZE_MATCH})`
97
93
  ).matches;
98
94
 
99
- // We need to scroll to top from the tablet size as side nav bar and content in side by side from tablet size
100
95
  if (isTabletOrDesktop) {
101
- // Sync with the browser to account for any reflows that may have happened
102
- requestAnimationFrame(() => {
103
- container?.scrollIntoView(true);
104
- });
96
+ window.scrollTo(0, 0);
105
97
  }
106
98
  }
107
99
 
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  .doc-status-container {
12
- background-color: rgb(254 243 217);
12
+ background-color: rgb(253 252 247);
13
13
  border-color: var(--dx-g-yellow-vibrant-80);
14
14
  }
15
15