Skip to content

Commit 4fe98ae

Browse files
committed
undo
1 parent 7b1417f commit 4fe98ae

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

blocks/header/header.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ function toggleMenu(nav, navSections, forceExpanded = null) {
108108
* @param {Element} block The header block element
109109
*/
110110
export default async function decorate(block) {
111-
112111
// load nav as fragment
113112
const navMeta = getMetadata('nav');
114113
const navPath = navMeta ? new URL(navMeta, window.location).pathname : '/nav';
@@ -162,8 +161,6 @@ export default async function decorate(block) {
162161

163162
const navWrapper = document.createElement('div');
164163
navWrapper.className = 'nav-wrapper';
165-
navWrapper.style.backgroundColor = "green";
166-
navWrapper.style.height = "100px";
167164
navWrapper.append(nav);
168165
block.append(navWrapper);
169166
}

0 commit comments

Comments
 (0)