skopix 2.0.63 → 2.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3995,6 +3995,20 @@ async function startStepTester(testerId, url, selector, mode, steps) {
3995
3995
  window.__skopixPreviewResults = {};
3996
3996
  document.addEventListener('DOMContentLoaded', () => {
3997
3997
  if (document.getElementById('__skopix_preview')) return;
3998
+ // Push page content left to avoid covering elements
3999
+ document.body.style.marginRight = '320px';
4000
+ document.body.style.boxSizing = 'border-box';
4001
+ // Also fix any fixed/sticky headers
4002
+ const fixedEls = Array.from(document.querySelectorAll('*')).filter(el => {
4003
+ const s = window.getComputedStyle(el);
4004
+ return (s.position === 'fixed' || s.position === 'sticky') && el.id !== '__skopix_preview';
4005
+ });
4006
+ fixedEls.forEach(el => {
4007
+ const s = window.getComputedStyle(el);
4008
+ const right = parseInt(s.right) || 0;
4009
+ el.style.right = (right + 320) + 'px';
4010
+ el.setAttribute('data-skopix-fixed', '1');
4011
+ });
3998
4012
  const tb = document.createElement('div');
3999
4013
  tb.id = '__skopix_preview';
4000
4014
  tb.style.cssText = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skopix",
3
- "version": "2.0.63",
3
+ "version": "2.0.65",
4
4
  "description": "Browser-based QA tool — record tests by using your app, replay them deterministically, generate Playwright code automatically",
5
5
  "main": "cli/index.js",
6
6
  "bin": {