Skip to content

Commit

Permalink
Fix MonacoEditor causing parent width to grow indefinitely
Browse files Browse the repository at this point in the history
  • Loading branch information
nimsara66 committed Oct 2, 2024
1 parent c6e37f5 commit 474dfe1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default function SOAPToRESTListing(props) {
const selectedPolicy = selectedTab === 'in' ? resourcePolicyIn : resourcePolicyOut;
const editorProps = {
language: 'xml',
width: '99%',
height: 'calc(50vh)',
theme: prefersDarkMode ? 'vs-dark' : 'vs',
value: selectedPolicy.content,
Expand Down

0 comments on commit 474dfe1

Please sign in to comment.