CON-1993 | floated images exceeding intended bounds fix

Code in small and large media query is almost the same. could you create a mixin and use it in both cases?