Board Thread:Support Requests - Getting Technical/@comment-3279487-20170515114116

Hello, I don't understand the reason why on my infoboxes there is a little white space on the right border (example). I'm using this CSS: If you are wondering why I'm using this, it's because I want the image to use the maximum width even if its original width is smaller then the infobox's, but still limiting the maximum height.

My guess is that "contain" make the image a little bit shorter to make it, indeed, contained. But how can I fix it? I tried to use  instead, but the images were sometime being cut off (you will see it happen here, if you try to use it)

Any suggestions? 