Skip to content

Commit

Permalink
Documentation and resoning
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeSimoes committed Jan 2, 2024
1 parent 643dfb6 commit d3d8fd0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blocks/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default class Header extends ComponentBase {

async processExternal(response) {
await super.processExternal(response);
this.parentElement.style.display = 'flex';
this.parentElement.style.opacity = 1;
eagerImage(this, 1);
}
}
1 change: 0 additions & 1 deletion blocks/theme/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export default class Theme extends ComponentBase {
.join('\n')}
${this.tags}</style>`;
console.log(this.variables);
document.body.style.display = 'block';
}

Expand Down
2 changes: 1 addition & 1 deletion styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ body {
}

header {
display: none;
opacity: 0;
min-height: var(--scope-header-height, 64px);
}

Expand Down

0 comments on commit d3d8fd0

Please sign in to comment.