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

Bartosz Dziewoński <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #24 from Bartosz Dziewoński <[email protected]> 2012-07-29 
17:29:49 UTC ---
I'm afraid you have broken the rendering of <source> tags now :( See e.g.
https://en.wikibooks.org/wiki/C_Programming/Variables - huge margins are added
to the top and bottom of codes.

The trouble is caused by "white-space: pre-wrap;" applied to .mw-code in
https://bits.wikimedia.org/en.wikibooks.org/load.php?debug=true&lang=pl&modules=skins.vector&only=styles&skin=vector&*
This enforces the rendering of a couple of newlines appearing in HTML source.

The minimal fix is to add ".mw-code { white-space: inherit }". But I don't get
this code at all, why apply the rules to both pre and .mw-code when the second
always has the first inside?

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

Reply via email to