#69 @media (fix for this issue)

This change fixes #69 and adds a test case for it.
Hope you like it!