LPS-38219 prevent document titles in documents and media portlet from overlapping with documents below