[#70291428]fixing styles to accomodate for different image sizes