When visiting https://en.wikipedia.org/wiki/Songs_About_Jane and printing the document, inline lists within tables appear smaller than surrounding text.
This is due to the following css rule:
.vector-experimental-print-styles ol li, .vector-experimental-print-styles ul li { padding: 2px 0; font-size: 10pt; }
Google code in
@Jdlrobson will mentor this.
Replication
Setup MobileFrontend and Vector.
The following code in your LocalSettings.php will help you test on real world content
$wgMFContentProviderClass = 'MobileFrontend\ContentProviders\MwApiContentProvider'; $wgMFAlwaysUseMobileFormatter = true;
Navigate to http://localhost/wiki/Songs_About_Jane and the article should now show in your local wiki inside Vector.
Scroll to "Track listing" section and you will notice the small font-size lists in the table (see screenshot below)
Acceptance criteria
- We need to shrink the font-size of all lists, except lists within tables. Update the css rules inside the Vector extension so that the font size for lists inside tables in print mode is inherited from parent class.