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 f8aa8321c56e88bb51c5ffc5f3687d580eb82bf6
Author: James Daugherty <[email protected]>
AuthorDate: Sun Mar 1 01:29:28 2026 -0500

    Adjust modal to be larger & fix title
---
 .../src/components/CodePreview/CodePreview.jsx       | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/app/launch/src/components/CodePreview/CodePreview.jsx 
b/app/launch/src/components/CodePreview/CodePreview.jsx
index a5251c1..d4e9d4c 100644
--- a/app/launch/src/components/CodePreview/CodePreview.jsx
+++ b/app/launch/src/components/CodePreview/CodePreview.jsx
@@ -208,18 +208,22 @@ const CodePreview = ({ theme = 'light', disabled, onLoad, 
onClose }, ref) => {
       <Dialog
         open={open}
         onClose={onModalClose}
-        maxWidth="lg"
+        maxWidth={false}
         fullWidth
         className={`preview ${theme}`}
-        PaperProps={{ className: `preview ${theme}` }}
+        PaperProps={{
+          className: `preview ${theme}`,
+          style: { width: '95vw', height: '90vh', maxWidth: '95vw' },
+        }}
       >
-        <DialogTitle>
-          {'Previewing a Grails application using ' +
-          ' application using ' +
-          capitalize(servlet) + ', ' + capitalize(gorm)}
+        <DialogTitle style={{ paddingBottom: 0, fontSize: '24px' }}>
+          <strong style={{ fontSize: '24px' }}>
+            {'Previewing a Grails application using ' +
+            capitalize(servlet) + ', ' + capitalize(gorm)}
+          </strong>
         </DialogTitle>
-        <DialogContent>
-          <Grid container className="grid-container">
+        <DialogContent style={{ paddingTop: 8 }}>
+          <Grid container className="grid-container" style={{ paddingTop: 0 }}>
             <Grid
               item
               xs={3}

Reply via email to