zhan7236 opened a new pull request, #17731: URL: https://github.com/apache/dolphinscheduler/pull/17731
### What is the purpose of the pull request This PR optimizes the file details display area in the resource center by making the MonacoEditor component fill the available screen space, eliminating excessive blank space at the bottom of the page. ### Brief change log - Add `height` prop to MonacoEditor component with default value '300px' for backward compatibility - Apply dynamic height calculation `calc(100vh - 320px)` for file edit page - Apply dynamic height calculation `calc(100vh - 420px)` for file create page - Ensure MonacoEditor fills the available screen space responsively - Improve user viewing experience by reducing large blank space ### Verify this pull request This change can be verified by: 1. Navigate to Resource Center > File Management 2. Click edit on any text file 3. Observe that the editor now fills the available screen space 4. Try on different screen sizes to verify responsiveness ### Related Issues Closes #17248 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
