@salesforcedevs/docs-components 1.3.104-alpha12 → 1.3.104-alphaa1

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.104-alpha12",
3
+ "version": "1.3.104-alphaa1",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -1,6 +1,14 @@
1
1
  :host {
2
2
  --dx-c-content-vertical-spacing: var(--dx-g-spacing-lg);
3
- --dx-c-content-sidebar-sticky-top: calc(var(--dx-g-global-header-height) + var(--dx-g-doc-header-height));
3
+ --dx-c-content-sidebar-sticky-top: calc(
4
+ var(--dx-g-global-header-height) + var(--dx-g-doc-header-height)
5
+ );
6
+ --dx-c-sidebar-height: calc(
7
+ 100vh -
8
+ calc(
9
+ var(--dx-g-global-header-height) + var(--dx-g-doc-header-height)
10
+ )
11
+ );
4
12
 
5
13
  display: block;
6
14
  }
@@ -14,7 +22,6 @@ doc-breadcrumbs {
14
22
 
15
23
  dx-sidebar,
16
24
  dx-sidebar-old {
17
- --dx-c-sidebar-height: 100%;
18
25
  --dx-c-sidebar-vertical-padding: var(--dx-c-content-vertical-spacing);
19
26
 
20
27
  z-index: 6;
@@ -60,13 +67,6 @@ dx-toc {
60
67
 
61
68
  .is-sticky {
62
69
  align-self: flex-start;
63
- height: calc(
64
- 100vh -
65
- calc(
66
- var(--dx-g-global-header-height) + var(--dx-g-doc-header-height)
67
- )
68
- );
69
- width: 100%;
70
70
  position: sticky;
71
71
  top: var(--dx-c-content-sidebar-sticky-top);
72
72
  }
@@ -88,6 +88,10 @@ dx-toc {
88
88
  }
89
89
 
90
90
  @media screen and (max-width: 768px) {
91
+ .is-sticky {
92
+ width: 100%;
93
+ }
94
+
91
95
  .content {
92
96
  flex-direction: column;
93
97
  }
@@ -97,8 +101,6 @@ dx-toc {
97
101
  }
98
102
 
99
103
  .left-nav-bar {
100
- --dx-c-sidebar-height: 80vh;
101
-
102
104
  height: unset;
103
105
  z-index: 10;
104
106
  }
@@ -4,7 +4,17 @@
4
4
  }
5
5
 
6
6
  doc-content-layout {
7
- --dx-c-content-sidebar-sticky-top: calc(var(--dx-g-global-header-height) + var(--dx-g-doc-header-main-nav-height));
7
+ --dx-c-content-sidebar-sticky-top: calc(
8
+ var(--dx-g-global-header-height) +
9
+ var(--dx-g-doc-header-main-nav-height)
10
+ );
11
+ --dx-c-sidebar-height: calc(
12
+ 100vh -
13
+ calc(
14
+ var(--dx-g-global-header-height) +
15
+ var(--dx-g-doc-header-main-nav-height)
16
+ )
17
+ );
8
18
  }
9
19
 
10
20
  doc-breadcrumbs {