@salesforcedevs/docs-components 1.3.49-heading-styles3 → 1.3.49-heading-styles4

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.49-heading-styles3",
3
+ "version": "1.3.49-heading-styles4",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -1,5 +1,9 @@
1
1
  @import "docHelpers/phaseContentLayout";
2
2
 
3
+ .api-documentation {
4
+ margin-top: 48px;
5
+ }
6
+
3
7
  .version-picker {
4
8
  margin-left: auto;
5
9
  }
@@ -34,9 +34,7 @@
34
34
  if:true={showBreadcrumbs}
35
35
  breadcrumbs={breadcrumbs}
36
36
  ></doc-breadcrumbs>
37
- <div style={docContentStyle}>
38
- <slot onslotchange={onSlotChange}></slot>
39
- </div>
37
+ <slot onslotchange={onSlotChange}></slot>
40
38
  <doc-sprig-survey
41
39
  if:true={shouldDisplayFeedback}
42
40
  ></doc-sprig-survey>
@@ -131,10 +131,6 @@ export default class ContentLayout extends LightningElement {
131
131
  );
132
132
  }
133
133
 
134
- get docContentStyle(): string {
135
- return this.showBreadcrumbs ? "" : "margin-top: 48px";
136
- }
137
-
138
134
  connectedCallback(): void {
139
135
  const hasParentHighlightListener = closest(
140
136
  "doc-xml-content",
@@ -34,7 +34,6 @@
34
34
  docs-data={docContent}
35
35
  page-reference={pageReference}
36
36
  onnavclick={handleNavClick}
37
- style={docContentStyle}
38
37
  ></doc-content>
39
38
  </doc-content-layout>
40
39
  </template>
@@ -586,10 +586,6 @@ export default class DocXmlContent extends LightningElementWithState<{
586
586
  return this.breadcrumbs && this.breadcrumbs.length > 1;
587
587
  }
588
588
 
589
- get docContentStyle(): string {
590
- return this.showBreadcrumbs ? "" : "margin-top: 48px";
591
- }
592
-
593
589
  private buildBreadcrumbs(): void {
594
590
  const { contentDocumentId } = this.pageReference;
595
591
  if (!contentDocumentId) {