Adjust media query rendering