Skip to content

Commit

Permalink
feat: add special body-css-class in webview context (#6)
Browse files Browse the repository at this point in the history
* add special body-css-class in webview context
* add nvm config

Fixes #4
  • Loading branch information
andon committed Nov 29, 2021
1 parent e89d305 commit 5f6c8b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
1 change: 1 addition & 0 deletions src/bridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const applyStyles = () => {
document.createTextNode('.fp-bridget__webview-hidden {display:none;}')
)
document.head.append(style)
document.body.classList.add('fp-bridget__webview-body')
}

const getElementContentByPropSelector = ({
Expand Down

0 comments on commit 5f6c8b8

Please sign in to comment.