Right justified images in posts - center on mobile device

My client is creating blog posts. Images within the posts that are right justified do not look good on a phone in portrait layout since the wrapping text looks bad.
I’m assuming there is a way to create a media query to change those right justified images to center justified with no wrap when the screen size is below a certain number of pixels. Just can’t figure it out.
Suggestions?