diff options
-rw-r--r-- | static/git-arr.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/static/git-arr.css b/static/git-arr.css index 2e4dcf8..e9533c7 100644 --- a/static/git-arr.css +++ b/static/git-arr.css @@ -147,6 +147,14 @@ div.toggable-title { margin-bottom: 0.3em; } +pre { + /* Sometimes, <pre> elements (commit messages, diffs, blobs) have very + * long lines. In those case, use automatic overflow, which will + * introduce a horizontal scroll bar for this element only (more + * comfortable than stretching the page, which is the default). */ + overflow: auto; +} + /* Commit message and diff. */ pre.commit-message { |