@salesforcedevs/docs-components 1.3.194-docfooter6-alpha → 1.3.194-docfooter8-alpha
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
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
var(--dx-g-global-header-height) + var(--dx-g-doc-header-height)
|
|
10
10
|
)
|
|
11
11
|
);
|
|
12
|
-
--dx-c-footer-nosignup-height: 452px;
|
|
13
12
|
|
|
14
13
|
display: block;
|
|
15
14
|
}
|
|
@@ -62,9 +61,10 @@ dx-toc {
|
|
|
62
61
|
flex-direction: row;
|
|
63
62
|
justify-content: center;
|
|
64
63
|
max-width: var(--dx-g-doc-content-max-width);
|
|
65
|
-
min-height:
|
|
64
|
+
min-height: 100vh;
|
|
66
65
|
margin: auto;
|
|
67
66
|
padding: 0 var(--dx-g-global-header-padding-horizontal);
|
|
67
|
+
margin-bottom: calc(2 * (var(--dx-g-spacing-5xl) + 4px));
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.content-body {
|
|
@@ -108,6 +108,7 @@ dx-toc {
|
|
|
108
108
|
.content-body-container {
|
|
109
109
|
padding-right: 0;
|
|
110
110
|
overflow-x: auto;
|
|
111
|
+
margin-bottom: calc(var(--dx-g-spacing-5xl) + 4px);
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
.left-nav-bar {
|
|
@@ -165,7 +165,6 @@ export default class DocXmlContent extends LightningElementWithState<{
|
|
|
165
165
|
this.apiDomain,
|
|
166
166
|
this.allLanguages
|
|
167
167
|
);
|
|
168
|
-
this.hidePageFooter();
|
|
169
168
|
this.fetchDocument().then(() => (this.loaded = true));
|
|
170
169
|
window.addEventListener("popstate", this.handlePopState);
|
|
171
170
|
|
|
@@ -767,16 +766,4 @@ export default class DocXmlContent extends LightningElementWithState<{
|
|
|
767
766
|
headTag[0].appendChild(robotsMeta);
|
|
768
767
|
}
|
|
769
768
|
}
|
|
770
|
-
|
|
771
|
-
/** Now footer for /docs will be part of content-layout. As XML docs are rendered using base.njk
|
|
772
|
-
* which bydefault has the footer, we need a hide the page footer.
|
|
773
|
-
*/
|
|
774
|
-
private hidePageFooter(): void {
|
|
775
|
-
const footerEle = document.querySelector(
|
|
776
|
-
".footer-container"
|
|
777
|
-
) as HTMLElement;
|
|
778
|
-
if (footerEle) {
|
|
779
|
-
footerEle.style.display = "none";
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
769
|
}
|