Skip to content

Commit

Permalink
feat: preserve white space in resource viewers (#91)
Browse files Browse the repository at this point in the history
This change ensures that white space is always preserved in the resource viewers. This allows resources with multiline values to be displayed correctly.
  • Loading branch information
ChristopherFry committed Aug 4, 2022
1 parent e0cb0ca commit 8d0d4f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ type ResourceViewerProps = {

const useStyles = makeStyles({
container: {
width: '600px',
width: '620px',
minHeight: '300px',
maxHeight: '50vh',
marginBottom: '10px',
overflowY: 'scroll',
whiteSpace: 'pre',
},
});

Expand Down

0 comments on commit 8d0d4f1

Please sign in to comment.