I am facing an issue with adjusting the distance between my confirmDialog and the top of the page when it is displayed within an iframe.
I attempted to modify my CSS settings, but unfortunately, it did not have the desired effect.
<p:confirmDialog global="true" showEffect="fade" hideEffect="fade" appendTo="@(body)"
width="350">
<p:commandButton value="No" type="button"
styleClass="ui-confirmdialog-no ui-button-flat" />
<p:commandButton value="Yes" type="button"
styleClass="ui-confirmdialog-yes" />
</p:confirmDialog>