Re: TOC no scrolling please
"Martin Cuno" <[email protected]> Mon, 19 Jan 2026 11:46:07 +0000
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks, Petko! Perfect as always, and so fast! Just so you know, though: it's not working on the Changelog page. It makes = no difference whether I open or close the table of contents. Both times it = shows up to version 2.3.35. It's also noticeable that the table of contents= starts on a new page. (Windows, Firefox, "save as PDF") But thanks anyway, it works perfectly for me! Martin =3D=3D=3D=3D=3D Urspr=FCngliche Nachricht =3D=3D=3D=3D=3D Von: Petko Yotov <[email protected]> Am: 19.01.2026, 12:21:56 Uhr Betreff: Re: [pmwiki-users] TOC no scrolling please I have updated the core styles for the next PmWiki version. If the table of contents is closed, the [Contents] frame will not be printed. If it is open, the full table of contents will be printed without scrolling or hidden lines. Try it on a page on pmwiki.org with many headings, for example here: https://www.pmwiki.org/wiki/PmWiki/ChangeLog You can add this to pub/css/local.css to enable the same before upgrading to 2.5.6: @media print { .PmTOCtable { max-height: none; overflow: visible; line-height: var(--pm-lineheight); } .PmTOCdiv:not([open]) { display:none; } } Petko -- = Diese E-Mail wurde von Avast-Antivirussoftware auf Viren gepr=FCft. www.avast.com