This is an automated email from the ASF dual-hosted git repository. jdaugherty pushed a commit to branch fixVulnerabilitiesAndModernize in repository https://gitbox.apache.org/repos/asf/grails-forge-ui.git
commit 561d199bc7f72134d2f84276134ae05253e4108b Author: James Daugherty <[email protected]> AuthorDate: Sun Mar 1 01:29:36 2026 -0500 Adjust diff modal to be larger --- app/launch/src/components/Diff.jsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/app/launch/src/components/Diff.jsx b/app/launch/src/components/Diff.jsx index 801af19..503170f 100644 --- a/app/launch/src/components/Diff.jsx +++ b/app/launch/src/components/Diff.jsx @@ -66,17 +66,22 @@ const Diff = ({ theme = 'light', disabled, onLoad, onClose }, ref) => { <Dialog open={!!diff} onClose={handleClose} - maxWidth="lg" + maxWidth={false} fullWidth className={`diff ${theme}`} - PaperProps={{ className: `diff ${theme}` }} + PaperProps={{ + className: `diff ${theme}`, + style: { width: '95vw', height: '90vh', maxWidth: '95vw' }, + }} > - <DialogTitle> - {'Showing Diff for a Grails application using ' + - capitalize(gorm) + ', ' + capitalize(servlet)} + <DialogTitle style={{ paddingBottom: 0, fontSize: '24px' }}> + <strong style={{ fontSize: '24px' }}> + {'Showing Diff for a Grails application using ' + + capitalize(gorm) + ', ' + capitalize(servlet)} + </strong> </DialogTitle> - <DialogContent> - <Grid container className="grid-container"> + <DialogContent style={{ paddingTop: 8 }}> + <Grid container className="grid-container" style={{ paddingTop: 0 }}> <Grid item xs={12} className={'grid-column'}> {diff && ( <SyntaxHighlighter
