@nys-cui/cui-section 0.2.13 → 0.2.15
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/section.js +3 -1
- package/src/section.scss +1 -0
package/package.json
CHANGED
package/src/section.js
CHANGED
|
@@ -51,7 +51,7 @@ export default class CUI_SECTION extends HTMLElement {
|
|
|
51
51
|
sTemplate += `
|
|
52
52
|
<div class="header-controls" part="header-controls">
|
|
53
53
|
<button type="button" id="collapse-control" aria-controls="container" part="collapse-control">
|
|
54
|
-
<cui-icon src="caret-down"
|
|
54
|
+
<cui-icon src="caret-down" basePath="${this.sIconBasePath}" part="collapse-control-icon"></cui-icon>
|
|
55
55
|
</button>
|
|
56
56
|
</div>`;
|
|
57
57
|
|
|
@@ -125,6 +125,7 @@ export default class CUI_SECTION extends HTMLElement {
|
|
|
125
125
|
// have the dContainer transition to the height of its inner content
|
|
126
126
|
dContainer.style.height = sectionHeight + 'px';
|
|
127
127
|
dContainer.style.overflow = "hidden";
|
|
128
|
+
dContainer.style.position = null;
|
|
128
129
|
|
|
129
130
|
this.sdSection.style.removeProperty('height');
|
|
130
131
|
|
|
@@ -174,6 +175,7 @@ export default class CUI_SECTION extends HTMLElement {
|
|
|
174
175
|
dContainer.style.height = sectionHeight + 'px';
|
|
175
176
|
dContainer.style.transition = dContainerTransition;
|
|
176
177
|
dContainer.style.overflow = "hidden";
|
|
178
|
+
dContainer.style.position = "relative";
|
|
177
179
|
|
|
178
180
|
sdSection.style.setProperty("height", sdSection.offsetHeight + 'px', "important");
|
|
179
181
|
|