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

       Web browser: ---
            Bug ID: 55830
           Summary: Line breaking
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Lingo
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: s7ep...@gmail.com
                CC: katkov.ju...@gmail.com, s7ep...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

https://www.mediawiki.org/wiki/Extension_talk:Lingo#lqt_thread_id_32466,
Lightbinder (talk), ‎21:39, 26 August 2013:

I've got Lingo 0.4.3alpha running on MediaWiki 1.21.2, and for most part it
works great. There's a corner case, though, where if you have a term with
spaces in it (e.g. myocardial infarction), and the line happens to wrap in the
middle of the term, you end up with a tooltip that goes off the right margin of
the page. I'm doing some investigation, but one quick-and-dirty fix for it is
to add white-space: nowrap; to the .tooltip_abbr CSS class in skins/Lingo.css.
That portion of my skins/Lingo.css, for instance, reads:

.tooltip_abbr {
  border-bottom: 1px dotted #bbf;
  white-space: nowrap;
}

This solves the problem, but it means that you can get some ugly line breaking
patterns as a result. I'll keep investigating to see if there isn't a more
elegant way to fix this bug.

-- 
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