We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78137e5 commit f08afbdCopy full SHA for f08afbd
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@jmkcoder/components",
3
- "version": "1.0.6",
+ "version": "1.0.7",
4
"description": "Odyssey Web Components Library",
5
"main": "dist/index.js",
6
"module": "dist/index.esm.js",
src/components/sidebar-container/sidebar-container.ts
@@ -36,7 +36,7 @@ class SidebarContainer extends HTMLElement {
36
// Move existing children (except header and footer) into the content area
37
const contentArea = this.querySelector('.sidebar-content');
38
if (contentArea) {
39
- Array.from(userContentDoc.children).forEach((child) => {
+ Array.from(userContentDoc.body.children).forEach((child) => {
40
if (child.tagName.toLowerCase() !== 'header' && child.tagName.toLowerCase() !== 'footer') {
41
contentArea.appendChild(child);
42
}
0 commit comments