Closed osis closed 7 years ago
Using the media queries in PUI that @tsaleh mentioned isn't going to work if we want to have control over the size of the image. I'm trying an example and it only likes statically set width/height, which raises other issues.
The other way of solving this is to start generating different sizes for assets, but that's a rabbit hole that I don't want to go down atm.
There might be some Javascript solutions but I'm personally not a fan of the division of responsibility in that case. 🤔
Opted to just make our own media query until we want to upgrade the version of PUI.
From @ihuston in https://github.com/pivotal/blog/issues/139...
This solution came about due to the fact that we didn't want to touch PivotalUI styling in any way to keep things lean. Maybe it's time to revisit that decision.