add css to truncate text