Browse Source

fix: diff scroll gutter

Adam 2 months ago
parent
commit
d29205e677
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/ui/src/pierre/index.ts

+ 3 - 0
packages/ui/src/pierre/index.ts

@@ -32,6 +32,9 @@ const unsafeCSS = `
   [data-separator-content] {
     height: 24px !important;
   }
+  [data-code] {
+    overflow-x: auto !important;
+  }
 }`
 
 export function createDefaultOptions<T>(style: FileDiffOptions<T>["diffStyle"]) {