diff --git a/ui/src/styles.css b/ui/src/styles.css index 4cf12073b92eb616137e0ac9ce293e2be9fc8d8e..102f0785dc084fc995e58eb5d923b89a17294a55 100644 --- a/ui/src/styles.css +++ b/ui/src/styles.css @@ -3184,6 +3184,35 @@ svg { .diff-viewer-comment-input { min-height: 60px; } + + /* Patch Tool Monaco editor mobile styles - hide gutters completely */ + .patch-tool-monaco-editor .monaco-editor .margin { + display: none !important; + width: 0 !important; + } + + .patch-tool-monaco-editor .monaco-editor .margin-view-overlays { + display: none !important; + width: 0 !important; + } + + .patch-tool-monaco-editor .monaco-editor .editor-scrollable { + left: 0 !important; + } + + .patch-tool-monaco-editor .monaco-editor .lines-content { + margin-left: 0 !important; + } + + /* Ensure patch tool diff editor uses full width */ + .patch-tool-monaco-editor .monaco-diff-editor { + width: 100% !important; + } + + .patch-tool-monaco-editor .monaco-diff-editor .editor.modified { + width: 100% !important; + left: 0 !important; + } } /* Injected text indicator (for diff comments) */