File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/ui/src/components/panels/diff Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -396,8 +396,8 @@ export const ZedDiffViewer: React.FC<{
396396 --st-diff-line-height: 20px;
397397 /* Zed-like hunk padding (blank line feel). */
398398 --st-diff-hunk-pad-y: 30px;
399- /* Zed-like hunk rounding. */
400- --st-diff-hunk-radius: 16px ;
399+ /* Zed-like: square hunks (no rounding) . */
400+ --st-diff-hunk-radius: 0px ;
401401 }
402402
403403 .st-diff-table.diff { table-layout: fixed; width: 100%; }
@@ -454,7 +454,7 @@ export const ZedDiffViewer: React.FC<{
454454 top: 6px;
455455 bottom: 6px;
456456 width: 4px;
457- border-radius: 999px ;
457+ border-radius: 0 ;
458458 background: var(--st-hunk-marker-color);
459459 opacity: 0.85;
460460 pointer-events: none;
@@ -463,7 +463,7 @@ export const ZedDiffViewer: React.FC<{
463463 .st-diff-table .diff-hunk:has(.diff-code-insert, .diff-code-delete)::after {
464464 content: '';
465465 position: absolute;
466- inset: 2px ;
466+ inset: 0 ;
467467 border-radius: var(--st-diff-hunk-radius);
468468 pointer-events: none;
469469 opacity: 0;
You can’t perform that action at this time.
0 commit comments