Update DocumentPrintButton width settings for responsive design across various screen sizes.

This commit is contained in:
Tom Butcher 2025-11-24 03:31:31 +00:00
parent ecf73c13c0
commit 69c387ca1d

View File

@ -108,7 +108,14 @@ const DocumentPrintButton = ({
onCancel={() => setNewDocumentJobOpen(false)} onCancel={() => setNewDocumentJobOpen(false)}
footer={null} footer={null}
destroyOnHidden={true} destroyOnHidden={true}
width={900} width={{
xs: '100%',
sm: '100%',
md: '100%',
lg: '90%',
xl: '80%',
xxl: '80%'
}}
> >
<NewDocumentJob <NewDocumentJob
onOk={() => { onOk={() => {