Ubuntu Wiki: IRC style formatting needs a "word-wrap: break-word"

Bug #812337 reported by Daniel Holbach
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Website - OBSOLETE
Undecided
Steve Edwards
ubuntu-branding
Undecided
Steve Edwards

Bug Description

Logs like https://wiki.ubuntu.com/MeetingLogs/devweek1107/TranslationsUpstreamImport are currently hard to read because the text is not word-wrapped.

Test case
{{{#!irc
[23:59] <tester> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sollicitudin metus ut felis auctor pulvinar. Quisque nec tellus elementum libero dapibus pellentesque nec eget magna. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce neque urna, lacinia sed lacinia a, egestas et ipsum. Aenean eu est est. Sed risus turpis, fringilla id convallis ac, accumsan id lacus. Aliquam mauris dolor, pellentesque ac tempus ac, pretium sed quam. Fusce eget magna ultricies diam imperdiet pretium vitae non libero. Maecenas suscipit metus varius massa pellentesque eget placerat ipsum ornare. Proin tempus, risus quis hendrerit consectetur, dolor nisi aliquam erat, nec rutrum sapien.
}}}

Revision history for this message
Alan Bell (alanbell) wrote :

pre{
white-space: pre-wrap;
}

should do it I think

Revision history for this message
Paul Sladen (sladen) wrote :

Theme source is apparently:

  lp:canonical-isd-web/light-wiki-theme

Revision history for this message
Paul Sladen (sladen) wrote :

Looking at the HTML generated, it appears to be:
  <div class="highlight irc">
    <div lang="en" dir="ltr" class="codearea">
      …

Revision history for this message
Paul Sladen (sladen) wrote :

  div.irc div.codearea pre span.line { white-space: pre-wrap; }

might do it.

Changed in ubuntu-website:
assignee: nobody → Steve Edwards (steve-edwards)
status: New → Fix Released
Changed in ubuntu-branding:
assignee: nobody → Steve Edwards (steve-edwards)
status: New → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

This unfortunately is not fixed yet, but it's in the queue of our sysadmins to get fixed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers