@ohhwells/bridge 0.1.113-next.296 → 0.1.113-next.297
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/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -778,6 +778,8 @@ function applyStylesToDom(store) {
|
|
|
778
778
|
if (isNavbar) {
|
|
779
779
|
const drawer = document.querySelector("[data-ohw-nav-drawer]");
|
|
780
780
|
if (drawer && !sections.includes(drawer)) sections.push(drawer);
|
|
781
|
+
const header = document.querySelector("[data-ohw-nav-root]");
|
|
782
|
+
if (header && !sections.includes(header)) sections.push(header);
|
|
781
783
|
}
|
|
782
784
|
for (const marker of Array.from(sections)) {
|
|
783
785
|
const isDrawerMarker = isNavbar && marker.hasAttribute("data-ohw-nav-drawer");
|