Re: Archlinux man pages, CSS format for <pre> blocks causing lines to wrap?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On 30-12-2023 07:44, David C. Rankin wrote:
Archdevs,

  Not sure where this should go, but the CSS for <pre> in https://man.archlinux.org/man/tmpfiles.d.5.en is causing the information to wrap. Changing zoom or browser window size doesn't change the width of the <pre> blocks and the text wraps in an awkward fashion, e.g.

<pre>#Type Path                                     Mode User Group Age  Argument
f     /file/to/create                          mode user group -           content
f+    /file/to/create-or-truncate              mode user group -           content
...

  It literally looks as shown in this e-mail with fixed font:

<pre>#Type Path                                     Mode User Group Age
Argument
f     /file/to/create                          mode user group -
content

  Not a big deal, but I'm used to seeing the Arch pages well laid-out and not subject to css hiccups. Tried in both Firefox and Brave browsers, same result. Anybody else see this?

  Just passing the info along so it can be passed to the right person if tweaking is warranted.

  To all a good 2024!


Yup, same here with firefox & opera .


I don't think it's the pre tag that does this. 

Everything under

TMPFILES.D(5) tmpfiles.d TMPFILES.D(5)

looks like it uses a fixed width that doesn't adjust to bigger screens.

Actually it reminds me of what the archwiki pages looked like when it was made mobile-centric (sometimes referred to as desktop-hostile ).

See https://bbs.archlinux.org/viewtopic.php?id=272718



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux