Use media queries instead of custom js props'