3 ms·
CSS can do that with the "text-overflow: ellipsis" property, but only for fixed-width elements, so it wouldn't really work for links.[1] Note that if you click
by frosted-flakes 6y ago
CSS can do that with the "text-overflow: ellipsis" property, but only for fixed-width elements, so it wouldn't really work for links.[1]
Note that if you click the timestamp on the comment, links don't get shortened.
[1] https://css-tricks.com/snippets/css/truncate-string-with-ellipsis/ https://css-tricks.com/snippets/css/truncate-string-with-ell...