OSAS / strapping-mediawiki

base skin for MediaWiki, based on Bootstrap — layer your own style (fonts, graphics, color) on top
Other
146 stars 35 forks source link

Responsive layouts not working in Chrome and IE #24

Closed AlJohnson closed 11 years ago

AlJohnson commented 11 years ago

Chrome v13.0.782.220 m IE v9.0.8112

I don't know if this is an issue with the theme or just the browsers, but these two browsers don't change their layouts with respect to the menu bar (Main Page, Community Portal, Current Events, etc.) when the width of the browser page changes. Looks like the main container that's not responding is affecting other parts of the page that uses the same container (like the "edit" links to the upper right of each section).

Demo at: http://ec2-50-112-91-143.us-west-2.compute.amazonaws.com/wiki/index.php/Main_Page

Thank you

AlJohnson commented 11 years ago

FYI, it works more-or-less in Opera and FF.

garrett commented 11 years ago

This used to work in an older version of the theme.

I can confirm that it is currently working in recent Firefox and Chrome, but does not work in IE (even IE10). I'm investigating this today.

garrett commented 11 years ago

After lots of debugging everything, I've finally traced it down to a broken implementation of MediaWiki ResourceLoader and the way it handles media queries (or doesn't, properly, that is). I have a work-around fix landing in the repo shortly.