Skip to content

Commit

Permalink
fix: position of dev-mode iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
msotnikov authored Oct 18, 2024
1 parent 9e36427 commit d7e1bf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/dev-mode/dev-mode-tracking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ export async function addDevModeTrackingIframe(db: RxDatabase) {
iframe.style.visibility = 'hidden';
iframe.width = '1px';
iframe.height = '1px';
iframe.style.position = 'absolute';
iframe.style.top = '0';
iframe.style.left = '0';
iframe.style.opacity = '0.1';
iframe.src = 'https://rxdb.info/html/dev-mode-iframe.html?version=' + RXDB_VERSION;
document.body.appendChild(iframe);
Expand Down

0 comments on commit d7e1bf9

Please sign in to comment.