@salesforcedevs/docs-components 1.3.104-alpha06 → 1.3.104-alpha07
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 +1 -1
- package/src/modules/doc/amfReference/amfReference.css +0 -2
- package/src/modules/doc/amfReference/amfReference.html +8 -4
- package/src/modules/doc/contentLayout/contentLayout.css +2 -1
- package/src/modules/doc/phase/phase.css +7 -0
- package/src/modules/docHelpers/phaseContentLayout/phaseContentLayout.css +0 -39
package/package.json
CHANGED
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
toc-options={tocOptions}
|
|
17
17
|
enable-slot-change="true"
|
|
18
18
|
>
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
<doc-phase
|
|
20
|
+
slot="doc-phase"
|
|
21
|
+
if:true={docPhaseInfo}
|
|
22
|
+
doc-phase-info={docPhaseInfo}
|
|
23
|
+
></doc-phase>
|
|
22
24
|
<div slot="sidebar-header" class="version-picker">
|
|
23
25
|
<template if:true={isVersionEnabled}>
|
|
24
26
|
<dx-dropdown
|
|
@@ -28,7 +30,9 @@
|
|
|
28
30
|
value={selectedVersion.id}
|
|
29
31
|
width="290px"
|
|
30
32
|
>
|
|
31
|
-
<dx-button variant="inline" class="version-picker-text">
|
|
33
|
+
<dx-button variant="inline" class="version-picker-text">
|
|
34
|
+
{selectedVersion.id}
|
|
35
|
+
</dx-button>
|
|
32
36
|
</dx-dropdown>
|
|
33
37
|
</template>
|
|
34
38
|
</div>
|
|
@@ -51,6 +51,7 @@ dx-toc {
|
|
|
51
51
|
|
|
52
52
|
.content-body {
|
|
53
53
|
margin: var(--dx-g-spacing-sm) 0 var(--dx-g-spacing-xl);
|
|
54
|
+
max-width: 900px;
|
|
54
55
|
flex: 1;
|
|
55
56
|
width: 0;
|
|
56
57
|
}
|
|
@@ -58,7 +59,7 @@ dx-toc {
|
|
|
58
59
|
.is-sticky {
|
|
59
60
|
height: 100vh;
|
|
60
61
|
position: sticky;
|
|
61
|
-
top:
|
|
62
|
+
top: 164px;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
.right-nav-bar {
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
doc-phase::part(container) {
|
|
2
|
-
margin-bottom: var(--dx-g-spacing-sm);
|
|
3
|
-
padding-left: var(--dx-g-spacing-mlg);
|
|
4
|
-
padding-right: var(--dx-g-spacing-lg);
|
|
5
|
-
width: auto;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.doc-phase-wrapper {
|
|
9
|
-
position: sticky;
|
|
10
|
-
top: 0;
|
|
11
|
-
z-index: 4;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@media screen and (max-width: 800px) {
|
|
15
|
-
doc-phase::part(container) {
|
|
16
|
-
margin-bottom: 0;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@media screen and (min-width: 1024px) and (max-width: 1496px) {
|
|
21
|
-
doc-phase::part(container) {
|
|
22
|
-
padding-right: var(--dx-g-spacing-3xl);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@media screen and (min-width: 1496px) {
|
|
27
|
-
doc-phase::part(container) {
|
|
28
|
-
margin-right: calc(
|
|
29
|
-
var(--dx-g-page-padding-horizontal) - var(--dx-g-spacing-lg)
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media screen and (max-width: 768px) {
|
|
35
|
-
/* We are giving top value because there is one more sticky item(lnb) with height 40px */
|
|
36
|
-
.doc-phase-wrapper {
|
|
37
|
-
top: 40px;
|
|
38
|
-
}
|
|
39
|
-
}
|