[pmwiki-users] History Output Unnecessarily Wide

H. Fox haganfox at gmail.com
Fri Aug 12 22:33:24 CDT 2005


On 8/12/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Fri, Aug 12, 2005 at 07:29:24PM -0700, H. Fox wrote:
> > Something to consider for the new pmwiki.org skin:
> >
> > As it is, the ?action=diff pages are sometimes annoyingly wide.
> >
> > Way wide (hard to read):
> > http://www.pmwiki.org/wiki/PmWiki/FAQ?action=diff
> >
> > Much more readable:
> > http://www.pmwiki.org/wiki/PmWiki/FAQ?action=diff&skin=light
> 
> Just so I don't have to go searching for it, what's the magic
> that light skin does to prevent the wide boxes...?

I was afraid you'd ask that.  I don't remember!  It's been a while
since I did it.  It was a head-scratcher at the time...

Here are the .diff* CSS selectors.

.diffbox { width:740px; margin-top:10px; }
.diffadd code, .diffdel code { padding-right:1px; white-space:normal; }
.diffrestore, .difftype, .difftime .diffauthor { font-size:8pt; }
.diffrestore { margin-top:2px; }

Maybe "white-space:normal;" was the key?

Hagan




More information about the pmwiki-users mailing list