[components][iFrame] Change iFrame height
This commit is contained in:
5
.changeset/nice-rings-smoke.md
Normal file
5
.changeset/nice-rings-smoke.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'@portaljs/components': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
iFrame component: change height
|
||||||
@@ -11,7 +11,7 @@ export function Iframe({ data, style }: IframeProps) {
|
|||||||
return (
|
return (
|
||||||
<iframe
|
<iframe
|
||||||
src={url}
|
src={url}
|
||||||
style={style ?? { width: `100%`, height: `100%` }}
|
style={style ?? { width: `100%`, height: `600px` }}
|
||||||
></iframe>
|
></iframe>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,6 @@ export const Normal: Story = {
|
|||||||
data: {
|
data: {
|
||||||
url: 'https://app.powerbi.com/view?r=eyJrIjoiYzBmN2Q2MzYtYzE3MS00ODkxLWE5OWMtZTQ2MjBlMDljMDk4IiwidCI6Ijk1M2IwZjgzLTFjZTYtNDVjMy04MmM5LTFkODQ3ZTM3MjMzOSIsImMiOjh9',
|
url: 'https://app.powerbi.com/view?r=eyJrIjoiYzBmN2Q2MzYtYzE3MS00ODkxLWE5OWMtZTQ2MjBlMDljMDk4IiwidCI6Ijk1M2IwZjgzLTFjZTYtNDVjMy04MmM5LTFkODQ3ZTM3MjMzOSIsImMiOjh9',
|
||||||
},
|
},
|
||||||
style: { width: `100%`, height: `100%` },
|
style: { width: `100%`, height: `600px` },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user