@salesforcedevs/docs-components 1.18.5-layoutfix-alpha → 1.18.5-layoutfix-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.18.5-layoutfix-alpha",
3
+ "version": "1.18.5-layoutfix-alpha1",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -1,9 +1,21 @@
1
1
  @import "docHelpers/contentLayoutStyle";
2
2
 
3
+ .lwc-content-body-container {
4
+ display: flex;
5
+ justify-content: center;
6
+ max-width: var(--dx-g-doc-content-max-width);
7
+
8
+ /* Derived this manually by substracting (topHeader, doc header, banner and the content). */
9
+ min-height: 62vh;
10
+ margin: auto;
11
+ padding: 0 var(--dx-g-global-header-padding-horizontal);
12
+ margin-bottom: calc(2 * (var(--dx-g-spacing-5xl) + 4px));
13
+ }
14
+
3
15
  .fixed-right-nav-bar {
4
16
  width: 180px;
5
17
  }
6
18
 
7
19
  .content-body-no-rnb {
8
- max-width: 1180px;
20
+ max-width: 1220px;
9
21
  }
@@ -18,7 +18,7 @@
18
18
  <div class="content-body-doc-phase-container">
19
19
  <slot name="doc-phase"></slot>
20
20
  <slot name="version-banner"></slot>
21
- <div class="content-body-container">
21
+ <div class="lwc-content-body-container">
22
22
  <div class={contentBodyClasses}>
23
23
  <doc-breadcrumbs
24
24
  lwc:if={showBreadcrumbs}