Embed Report with Auto Height

Embed Report with Auto Height

Hello Developers,

When we embed report within Page, we are getting one awesome feature to adjust the report height. "Auto" and "Custom' height.

This "Auto" option works well when we have no records.

But I want to embed report based on some conditions using page parameters. 

For this, I am using HTML Snippet to embed the report, but when there is no records. Report embed doesn't look good.

Report Embed ( When no Records )
Report Embed in HTML Snippet - ( when no records )
Is there anyway we can pass the "auto" height feature to HTML Snippet?

Thanks in Advance.