[pmwiki-users] History Output Unnecessarily Wide

Patrick R. Michaud pmichaud at pobox.com
Fri Aug 12 23:01:51 CDT 2005


On Fri, Aug 12, 2005 at 08:33:24PM -0700, H. Fox wrote:
> > > 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?

Doesn't appear to be.  The offending lines are <pre>...</pre>,
and adding the above white-space:normal properties into my local.css 
didn't seem to solve the problem.

Looks like it's the explicit width property on .diffbox that is 
preventing the extra-wide boxes. 

Pm




More information about the pmwiki-users mailing list