Kenneth Porter
2022-May-10 09:10 UTC
[CentOS] Mailing list archives pretty but need to be wider
The CSS for the list archives should specify a slightly larger width for the message text. Archives for this list: <https://lists.centos.org/pipermail/centos/> I looked up a useful reply in the archives for sharing elsewhere and found that they're nicely-formatted but the message display is a little narrow so the normal email wrapping column is wider than allowed by the archive page's CSS, resulting in text lines getting truncated unpleasantly. I'm guessing it's wrapping at 72 columns instead of 80 but I'm not enough of a CSS wizard to find how the element width is set but adding about 10% would probably fix it. Here's an example where the last 2-3 words of each line get wrapped to the next line: <https://lists.centos.org/pipermail/centos/2022-April/715512.html> (It's not as obvious in posts quoting a config file because those tend to be narrow and don't overflow the narrowed right margin. Looking up this message in the archives should show the problem, though.)
Alain Reguera Delgado
2022-May-12 12:46 UTC
[CentOS] Mailing list archives pretty but need to be wider
Hi Kenneth, On Tue, 2022-05-10 at 02:10 -0700, Kenneth Porter wrote:> The CSS for the list archives should specify a slightly larger width > for the message text.Yes. This is an issue in the current layout affecting content, specifically when the pre tag is set to use white-space: "pre-wrap". Note that this also would happen on a wider area if the text is written in a single long line without new lines on it. I've opened an issue to discuss it and look for alternatives: https://github.com/CentOS/ansible-role-mailman/issues/15 There is an alternative layout already available for evaluation in dev environment: https://lists.dev.centos.org/pipermail/docs-sig/2022-February/000817.html This alternative doesn't fix the wrapping issue but provides more space for properly wrapped mail messages (those having ~80 characters long per line) to look without cuts when presented. All comments and suggestions are appreciated. Thank you for your message. Best regards, -- Alain Reguera Delgado <alain.reguera at gmail.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20220512/41a2f83c/attachment-0003.sig>