feedback-vos 1.0.41 → 1.0.44

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/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  A beautiful, customizable feedback widget for Next.js applications with built-in GitHub Issues integration.
4
4
 
5
+ ## Links
6
+
7
+ - 📦 [NPM Package](https://www.npmjs.com/package/feedback-vos)
8
+ - 🐙 [GitHub Repository](https://github.com/klaas-sysop/feedback-vos)
9
+ - 🎨 [Live Demo](https://feedback.vossendesign.nl/)
10
+
5
11
  ## Features
6
12
 
7
13
  - 🎨 Modern and responsive design with dark/light theme support
package/dist/index.js CHANGED
@@ -421,8 +421,9 @@ function ScreenshotButton({
421
421
  return element.hasAttribute("data-feedback-widget") || element.closest("[data-feedback-widget]") !== null;
422
422
  }
423
423
  });
424
- const targetWidth = 1920;
425
- const targetHeight = 1080;
424
+ const isMobile = window.innerWidth < 768;
425
+ const targetWidth = isMobile ? 1080 : 1920;
426
+ const targetHeight = isMobile ? 1920 : 1080;
426
427
  const normalizedCanvas = document.createElement("canvas");
427
428
  normalizedCanvas.width = targetWidth;
428
429
  normalizedCanvas.height = targetHeight;