@cntrl-site/sdk-nextjs 0.1.5 → 0.1.6

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.
@@ -8,6 +8,7 @@ const ImageItem = ({ item, layouts }) => ((0, jsx_runtime_1.jsx)(LinkWrapper_1.L
8
8
  ${(0, sdk_1.getLayoutStyles)(layouts, [item.layoutParams], ([{ strokeColor, radius, strokeWidth, opacity }]) => (`
9
9
  .image-wrapper-${item.id} {
10
10
  position: absolute;
11
+ overflow: hidden;
11
12
  width: 100%;
12
13
  height: 100%;
13
14
  border-style: solid;
@@ -8,6 +8,7 @@ const VideoItem = ({ item, layouts }) => ((0, jsx_runtime_1.jsx)(LinkWrapper_1.L
8
8
  ${(0, sdk_1.getLayoutStyles)(layouts, [item.layoutParams], ([{ strokeColor, radius, strokeWidth, opacity }]) => (`
9
9
  .video-wrapper-${item.id} {
10
10
  position: absolute;
11
+ overflow: hidden;
11
12
  width: 100%;
12
13
  height: 100%;
13
14
  border-style: solid;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/sdk-nextjs",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "SDK for Next.js",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/index.js",
@@ -13,6 +13,7 @@ export const ImageItem: FC<ItemProps<TImageItem>> = ({ item, layouts }) => (
13
13
  ${getLayoutStyles(layouts, [item.layoutParams], ([{ strokeColor, radius, strokeWidth, opacity }]) => (`
14
14
  .image-wrapper-${item.id} {
15
15
  position: absolute;
16
+ overflow: hidden;
16
17
  width: 100%;
17
18
  height: 100%;
18
19
  border-style: solid;
@@ -16,6 +16,7 @@ export const VideoItem: FC<ItemProps<TVideoItem>> = ({ item, layouts }) => (
16
16
  ${getLayoutStyles(layouts, [item.layoutParams], ([{ strokeColor, radius, strokeWidth, opacity }]) => (`
17
17
  .video-wrapper-${item.id} {
18
18
  position: absolute;
19
+ overflow: hidden;
19
20
  width: 100%;
20
21
  height: 100%;
21
22
  border-style: solid;