For anyone specifically wanting to PDF a ‘Standard Page’, you can get around the scroll bar issue by using @stucork’s solution for being able to use ‘Standard Pages’ as alert forms which can be found at the following links. You can simply set the form you want to PDF role by self.role = 'alert-form'
and away you go, no more scroll bars! Thanks @stucork
Code below.
theme.css
.anvil-role-alert-form .structure {
height: 100%;
min-height: auto;
}
roles: