added ellipsis with CSS
calculating edit summary width in preview modal