Page MenuHomePhabricator

Should not apply "display: block" to nested tables In MinervaNeue skin for @media (max-width: 720px)
Open, Needs TriagePublic

Description

MinervaNeue skin media query @media (max-width: 720px) applies display: block to .content table .

However, above query rendering is not suitable for nested tables. I'd like to suggest for setting display: table to nested table

  • Step to reproduce
  1. Go to a page that contains nested table (e.g. https://ja.wikipedia.org/w/index.php?useskin=minerva&oldid=74704799#モバイルビューで入れ子にした表の幅が狭く表示される )
  2. Resize your window width under than 721 px
  • Actual result: Applied media query for under of 720 px and breaks design for nested tables
  • Expected result: Should apply display: table for nested tables

Event Timeline

Rxy created this task.Mon, Oct 21, 11:40 AM
Restricted Application added subscribers: Masumrezarock100, Aklapper. · View Herald TranscriptMon, Oct 21, 11:40 AM
Jdlrobson added a subscriber: Jdlrobson.

Could this be fixed using some local styles using Extension:TemplateStyles (https://m.mediawiki.org/wiki/Extension:TemplateStyles)

I'm not sure how common tables within tables are on our wikis and I would be reluctant to add this rule based on one problematic page.