fixes to css margin and text overflow hidden, ellipsis