If you've removed the bottom container div you need to modify the top container div to expand the full height of the container box. This can be done with the below template edit or using CSS.
IN: components/com_comprofiler/plugin/user/plug_cbgallery/templates/default/photos.php
ON: Line 182
FROM:
Code:
'<div class="galleryContainerTop" style="height: ' . ( $width - 40 ) . 'px;">'
TO:
Code:
'<div class="galleryContainerTop" style="height: ' . $width . 'px;">'
I've plans to redesign those boxes to purely be the image in a later release though. So in a later release you won't need to make any changes. Added this note to the below ticket to note that the change is coming.
forge.joomlapolis.com/issues/5143