about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/pages/File.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/File.tsx b/src/pages/File.tsx
index f9f1a73..d82235d 100644
--- a/src/pages/File.tsx
+++ b/src/pages/File.tsx
@@ -112,7 +112,7 @@ function FileInfo(props: FileInfoProps) {
     <>
       <p>Absolute path: {props.file.absolute_path}</p>
       <p>Timestamp: {props.file.timestamp}</p>
-      <p>Content: {props.file.contents}</p>
+      <p style={{ whiteSpace: "pre-wrap" }}>Content: {props.file.contents}</p>
       <p>ID: {props.file.id}</p>
     </>
   )