@herb-tools/dev-tools 0.8.6 → 0.8.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herb-tools/dev-tools",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "description": "Development tools for visual debugging in HTML+ERB templates",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@herb-tools/core": "0.8.6"
33
+ "@herb-tools/core": "0.8.8"
34
34
  },
35
35
  "files": [
36
36
  "package.json",
@@ -548,7 +548,7 @@ export class HerbOverlay {
548
548
  return;
549
549
  }
550
550
 
551
- if (element.localName === 'html') {
551
+ if (element.localName === 'html' || window.getComputedStyle(element).overflowY !== 'visible') {
552
552
  label.style.top = '0';
553
553
  }
554
554