Added a truncation mechanism to the attachments
Fixed the overspacing of document activity