https://bugzilla.wikimedia.org/show_bug.cgi?id=41544

       Web browser: ---
             Bug #: 41544
           Summary: Diffs with long lines cause horizontal scrollbars to
                    appear
           Product: Wikimedia
           Version: unspecified
          Platform: All
               URL: https://gerrit.wikimedia.org/r/#/c/26898/5/skins/Colog
                    neBlue.php
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Git/Gerrit
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: matma....@gmail.com
                CC: innocentkil...@gmail.com, rlan...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 11262
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=11262
Screenshot – Opera

This happens for me on Opera 12.02 and Firefox 15 on Windows XP.

gerrit appears to try to mitigate this issue by inserting <br>s into long
lines, but it inserts them slightly too late, when the text is already
off-screen.

I was able to work-around this for myself using two lines of CSS:
.GJEA35ODFF{ white-space: pre-wrap }
.GJEA35ODFF br{ display: none }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to