Maximize IFrame in Smart fhir app

@adunsulag I have registered a Smart fhir app in openemr, When I am launching fhir app, It is opening in iframe. How I can maximize it, How I can customize their size.

SMART apps in OpenEMR launch inside a modal dialog that already uses nearly the full viewport — 97% width and full viewport height. However, after the app loads, the modal auto-resizes to match the app’s content height. So if your app’s rendered content is short, the modal will shrink down to fit.

There’s no admin setting in OpenEMR to control the SMART app dialog size — it’s handled automatically by the dialog system.

The most practical approach that doesn’t require any OpenEMR code changes is to set a minimum height in your SMART app’s own CSS:

html, body {
    min-height: 100vh;
}

Since the auto-sizer measures the iframe content to determine the modal height, making your app’s body taller will keep the modal at full viewport height.