feat: optimized diff viewer element sizes layout

This commit is contained in:
Bohdan Triapitsyn
2025-12-15 13:56:01 +02:00
parent f9b3646f17
commit 6b78ad0b49
2 changed files with 13 additions and 0 deletions
@@ -28,6 +28,14 @@ const WEBKIT_SCROLL_FIX_CSS = `
[data-code] {
-webkit-overflow-scrolling: touch;
}
/* Reduce hunk separator height */
[data-separator-content] {
height: 24px !important;
}
[data-expand-button] {
height: 24px !important;
width: 24px !important;
}
`;
// Fast cache key - use length + samples instead of full hash