You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Chris Haynes <ch...@valesoft.com> on 2009/09/13 05:32:42 UTC

Auto-Expansion of Collapsible Box when printing

Greetings,all,

Does anyone know if / how it is possible to arrange that the contents of all Collapsible Boxes are expanded while printing, regardless of whether or not they are opened on the screen view?


TIA

Chris


Re: Auto-Expansion of Collapsible Box when printing

Posted by Dirk Frederickx <di...@gmail.com>.
Chris,

This sure is possible.  It requires some css tweaking.


Look up following line in the jspwiki.css:

.collapse .collapsebody, .collapsebox .collapse .collapsebody {
padding-left:1.5em;
}


Add following css rule, which will reset the height of the collapsed blocks
back to 'auto'.

@media print {
  .collapse .collapsebody ul, .collapsebox div.collapsebody  {
height:auto !important;
  }
}
(you could also add it to the jspwiki_print.css of course)


Plse log this as a JIRA improvement item; so we can add it to the standard
css sheet.

dirk



On Sun, Sep 13, 2009 at 5:32 AM, Chris Haynes <ch...@valesoft.com> wrote:

> Greetings,all,
>
> Does anyone know if / how it is possible to arrange that the contents of
> all Collapsible Boxes are expanded while printing, regardless of whether or
> not they are opened on the screen view?
>
>
> TIA
>
> Chris
>
>