Skip to content

Commit

Permalink
scrollable iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
brig committed Nov 13, 2023
1 parent e722448 commit 41667dc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions console2/src/components/organisms/UserProcessActivity/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,14 @@ const renderCard = (card: ProcessCardEntry) => {
{card.isCustomForm &&
<Modal trigger={<Button basic color='green'>Start process</Button>}>
<Modal.Content>
<Embed
url={`/api/v2/service/console/user/process-card/${card.id}/form`}
active={true}
/>
<div className={"ui active embed"}>
<iframe title={card.id}
src={`/api/v2/service/console/user/process-card/${card.id}/form`}
height={"100%"}
width={"100%"}
frameBorder={0}
allowFullScreen={true}/>
</div>
</Modal.Content>
</Modal>
}
Expand Down

0 comments on commit 41667dc

Please sign in to comment.