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

       Web browser: ---
            Bug ID: 49163
           Summary: Reader feature no longer works on iOS
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Something recently has stopped this from working. On investigation this seems
to be due to mobile.styles and specifically something in the
stylesheets/common/mf-typography.css file.

Bizarrely this seems to be due to this rule:
.content {
  margin: 14pt 23px 0 23px;
}

I notice when I change this to:
.content {
  margin: 14pt 17px 0 23px;
}
or
.content {
  margin: 14pt 23px 0 17px;
}
it works


It seems that if the inner horizontal width of the main containing element is
less 280px it will not show the reader function

e.g. 
width: 279px; it will show
width: 280px; no reader function

40px appears to be a magic number

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

Reply via email to