skopix 2.0.64 → 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.
@@ -3998,6 +3998,17 @@ async function startStepTester(testerId, url, selector, mode, steps) {
3998
3998
  // Push page content left to avoid covering elements
3999
3999
  document.body.style.marginRight = '320px';
4000
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
+ });
4001
4012
  const tb = document.createElement('div');
4002
4013
  tb.id = '__skopix_preview';
4003
4014
  tb.style.cssText = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skopix",
3
- "version": "2.0.64",
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": {