@biela.dev/core 1.7.6 → 1.7.7

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/dist/index.cjs CHANGED
@@ -703,10 +703,11 @@ function DeviceFrame({
703
703
  children: /* @__PURE__ */ jsxRuntime.jsx(DeviceErrorBoundary, { children })
704
704
  }
705
705
  ),
706
- DeviceSVGComponent && /* @__PURE__ */ jsxRuntime.jsx("div", { ref: frameOverlayRef, children: /* @__PURE__ */ jsxRuntime.jsx(
707
- DeviceSVGComponent,
706
+ DeviceSVGComponent && /* @__PURE__ */ jsxRuntime.jsxs(
707
+ "div",
708
708
  {
709
- colorScheme,
709
+ ref: frameOverlayRef,
710
+ className: "bielaframe-svg-overlay",
710
711
  style: {
711
712
  position: "absolute",
712
713
  top: 0,
@@ -714,10 +715,24 @@ function DeviceFrame({
714
715
  width: frameTotalW,
715
716
  height: frameTotalH,
716
717
  pointerEvents: "none",
717
- zIndex: 10
718
- }
718
+ zIndex: 10,
719
+ overflow: "hidden"
720
+ },
721
+ children: [
722
+ /* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: `.bielaframe-svg-overlay svg { width: 100% !important; height: 100% !important; }` } }),
723
+ /* @__PURE__ */ jsxRuntime.jsx(
724
+ DeviceSVGComponent,
725
+ {
726
+ colorScheme,
727
+ style: {
728
+ width: "100%",
729
+ height: "100%"
730
+ }
731
+ }
732
+ )
733
+ ]
719
734
  }
720
- ) }),
735
+ ),
721
736
  showSafeAreaOverlay && /* @__PURE__ */ jsxRuntime.jsx(
722
737
  "div",
723
738
  {