Trim padding of content