For example, references:
The line height is overridden to 100%, instead of using the skin default of 140%.
Even on a small screen, there appears to be enough room for this more comfortable line height:
Esanders | |
Mar 16 2020, 4:36 PM |
F31700550: image.png | |
Mar 24 2020, 9:42 PM |
F31700548: image.png | |
Mar 24 2020, 9:42 PM |
F31700309: en.m.wikipedia.org_wiki_%C3%89tude_Op._25,_No._1_(Chopin)(iPhone 6_7_8).png | |
Mar 24 2020, 5:22 PM |
F31700307: en.m.wikipedia.beta.wmflabs.org_wiki_Uganda_Martyrs(iPhone 6_7_8).png | |
Mar 24 2020, 5:22 PM |
F31685101: image.png | |
Mar 16 2020, 4:36 PM |
F31685099: image.png | |
Mar 16 2020, 4:36 PM |
For example, references:
The line height is overridden to 100%, instead of using the skin default of 140%.
Even on a small screen, there appears to be enough room for this more comfortable line height:
Change 580080 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/MobileFrontend@master] Remove line-height overrides for drawers
Cc @alexhollender. Pulling into sprint as we'll want to verify all the other drawers in storybook.
Looking at the storybook, only the reference drawer uses the affected selectors (.drawer.text and .drawer p) so this should have no effect on other drawers.
Actually the AMC drawer uses the .drawer p selector, but it already inherits 1.4 line height from the body.
Note that in the storybook not all the Minerva classes are present (for example the 1.4 line height on the body).
Change 580080 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Remove line-height overrides for drawers
I looked at wmf/1.35.0-wmf.15 to see how it was rendering there. There were never paragraph tags, but there was a wrapper with the reference-text class, and that has line-height: 1.4; defined here: ReferencesDrawer.less#L38
Comparison of the DOM structure before and after:
wmf/1.35.0-wmf.15 | master |
---|---|
I think change rEMFR0da51be80f02: Fix ReferencesHtmlScraperGateway showing child references is the reason.
Now that you fixed it differently, I think we should just remove the styling for .reference-text in ReferencesDrawer.less.
Oh dear. I believe our mistake in the patch https://gerrit.wikimedia.org/r/570090 (done as part of T242899) was that we only tested 1-line references. Thanks a lot for fixing this mistake!
Yes, the .reference-text { line-height: 1.4; } can now be removed.
Moving to editing QA and untagging Readers Web - feel free to add again if there's anything else we can do to help here
Change 583434 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/MobileFrontend@master] ReferencesDrawer: Remove unused styles for .reference-text
Change 583434 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] ReferencesDrawer: Remove unused styles for .reference-text