@salesforcedevs/docs-components 1.34.4-topic-alpha.1 → 1.34.4-topic-alpha.2
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
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/* NOTE: doc-version-picker-width width variable is used by both dx-button and dx-dropdown to maintain a consistent width. */
|
|
4
4
|
:host {
|
|
5
|
-
|
|
6
|
-
--dx-c-dropdown-option-
|
|
7
|
-
--dx-c-dropdown-option-padding: var(--dx-g-spacing-sm)
|
|
8
|
-
var(--dx-g-spacing-lg);
|
|
9
|
-
--dx-c-popover-padding: var(--dx-g-spacing-sm) 0;
|
|
5
|
+
/* Menu labels wrap; break long unspaced labels instead of overflowing. */
|
|
6
|
+
--dx-c-dropdown-option-overflow-wrap: anywhere;
|
|
10
7
|
--popover-container-open-transform: translateY(4px);
|
|
11
8
|
}
|
|
12
9
|
|
|
@@ -112,24 +109,11 @@ dx-type-badge.not-latest-badge {
|
|
|
112
109
|
* Small "dot" variant (opt-in via `small`). Additive
|
|
113
110
|
* ------------------------------------------------------------------ */
|
|
114
111
|
|
|
115
|
-
/*
|
|
116
|
-
|
|
112
|
+
/* The small menu hugs its longest label but never grows wider than the sidebar
|
|
113
|
+
content (--doc-version-picker-width, set by the sidebar). Labels wrap only at
|
|
114
|
+
that width. The large menu always matches its trigger (width-mode="full"). */
|
|
117
115
|
.version-picker-dropdown-small {
|
|
118
|
-
--dx-c-dropdown-option-font-size: var(--dx-g-text-xs);
|
|
119
|
-
--dx-c-dropdown-option-padding: var(--dx-g-spacing-sm)
|
|
120
|
-
var(--dx-g-spacing-sm);
|
|
121
|
-
--dx-c-dropdown-option-border-radius: 0;
|
|
122
|
-
--dx-c-popover-border: none;
|
|
123
|
-
|
|
124
|
-
/* Hug the labels (down to the shortest) but never wider than the ToC
|
|
125
|
-
content: 296px on desktop, and on the smallest breakpoint the sidebar
|
|
126
|
-
variable grows with the viewport up to 720px. Long labels wrap inside
|
|
127
|
-
that cap. */
|
|
128
116
|
--dx-c-dropdown-menu-max-width: var(--doc-version-picker-width, 296px);
|
|
129
|
-
--dx-c-dropdown-fit-white-space: normal;
|
|
130
|
-
--dx-c-dropdown-fit-overflow: hidden;
|
|
131
|
-
--dx-c-dropdown-fit-text-overflow: clip;
|
|
132
|
-
--dx-c-dropdown-option-overflow-wrap: anywhere;
|
|
133
117
|
}
|
|
134
118
|
|
|
135
119
|
.version-picker-button-small {
|