Skip to content

Commit

Permalink
Merge branch 'main' into typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisAntaki authored Nov 10, 2023
2 parents a62988f + 433a6a4 commit d36d23a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Subscribe with Google",
"main": "index.js",
"engines": {
"node": "^18.0.0",
"node": "^20.0.0",
"npm": "^10.0.0"
},
"author": "Subscribe with Google Authors",
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/audience-action-local-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class AudienceActionLocalFlow implements AudienceActionFlow {
'transition': 'opacity 0.5s',
'top': '0',
'width': '100%',
'z-index': '2147483646',
'z-index': '2147483647',
});

const shadow = wrapper.attachShadow({mode: 'open'});
Expand Down Expand Up @@ -642,7 +642,7 @@ export class AudienceActionLocalFlow implements AudienceActionFlow {

async start() {
this.renderLoadingView_();
this.doc_.body.appendChild(this.wrapper_);
this.doc_.documentElement.appendChild(this.wrapper_);
setStyle(this.doc_.body, 'overflow', 'hidden');
this.wrapper_.offsetHeight; // Trigger a repaint (to prepare the CSS transition).
setImportantStyles(this.wrapper_, {'opacity': '1.0'});
Expand Down

0 comments on commit d36d23a

Please sign in to comment.