Skip to content

Commit afad142

Browse files
committed
fix iframe style
1 parent af297e9 commit afad142

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/app/src/app/pages/common/Modals/ShareModal2/elements.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export const Preview = styled.div(
236236
width: '100%',
237237
height: 500,
238238
border: 0,
239-
borderRadius: 2,
239+
borderRadius: 'medium',
240240
overflow: 'hidden',
241241
},
242242
})

packages/app/src/app/pages/common/Modals/ShareModal2/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ function getIframeCode({ settings, sandbox }) {
130130
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
131131
title=${sandbox.title}
132132
allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
133-
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
134-
></iframe>`;
133+
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin">
134+
</iframe>`;
135135
}
136136

137137
function ShareModal() {

0 commit comments

Comments
 (0)