Skip to content

Commit

Permalink
fix(ui-debug): style issue in text view
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Sep 16, 2024
1 parent 62deb2e commit 552f535
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function Text({ studyId, filePath, filename, enableImport }: DataCompProps) {
)}
<DownloadButton onClick={handleDownload} />
</Menubar>
<Box sx={{ height: 1, display: "flex", flexDirection: "column" }}>
<Box sx={{ overflow: "auto" }}>
<SyntaxHighlighter
style={atomOneDark}
lineNumberStyle={{
Expand All @@ -108,7 +108,6 @@ function Text({ studyId, filePath, filename, enableImport }: DataCompProps) {
}}
customStyle={{
margin: 0,
overflow: "auto",
padding: theme.spacing(2),
borderRadius: theme.shape.borderRadius,
fontSize: theme.typography.body2.fontSize,
Expand Down

0 comments on commit 552f535

Please sign in to comment.