Re:Media Queries are a Hack
by folkelemaitre on Thursday April 04, 2013 @06:21PM
(#5495660)
We has a similar issue to solve. One part of our app is comparable to the inbox of an email client (list of messages). We launched a new dashboard view, where people could add all sorts of charts and also lists of messages. We used the same code / css for that, but here as well we wanted to hide / unhide certain things in the message depending on the width of the widget. We finally added some very simple (and highly restrictive) js code to make it happen in some way. Check this gist to see what we did: https://gist.github.com/folke/5314876
[ Parent
| on HN ]
There are no comments on this comment yet.