https://bugzilla.wikimedia.org/show_bug.cgi?id=32795
Web browser: ---
Bug #: 32795
Summary: Margins (MediaWiki CSS file commonPrint.css)
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
The MediaWiki CSS file commonPrint.css (skins/common/commonPrint.css) contains
the following CSS rule (lines #161-164):
p, .documentDescription {
margin: 1em 0 !important;
line-height: 1.2em;
}
The !important specifier should be removed. It sets paragraph margins to 1em,
regardless of the actual styling and layout of the page (in regular mode). Many
pages in the Hebrew wikisource make use of special styling/layout of the text,
and this rule breaks the style in print mode, makes them effectively
unprintable.
Major wikis (i.e., http://en.wikipedia.org/wiki/MediaWiki:Common.js) try to
avoid this problem by providing some overloaded rules --
mw.util.addCSS( '@media print { sup, sub, p, .documentDescription {
line-height: normal; }}');
However, due to the !important specifier, subsequent rules cannot alter the
original one.
See also https://bugzilla.wikimedia.org/show_bug.cgi?id=17297#c2 .
(Note: I have filed this bug for:
http://he.wikisource.org/wiki/%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9:Fuzzy)
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l