diff --git a/src/ui/css/diff2html.css b/src/ui/css/diff2html.css index ae6f4b7..e88a20f 100644 --- a/src/ui/css/diff2html.css +++ b/src/ui/css/diff2html.css @@ -124,7 +124,7 @@ display: inline-block; white-space: nowrap; user-select: none; - width: 100%; + width: calc(100% - 16em); /* Compensate for the absolute positioning of the line numbers */ padding: 0 8em; } @@ -133,7 +133,7 @@ display: inline-block; white-space: nowrap; user-select: none; - width: auto; + width: calc(100% - 9em); /* Compensate for the absolute positioning of the line numbers */ padding: 0 4.5em; }