[rt-users] Overriding CSS in ticket display?

Jeff Voskamp javoskam at uwaterloo.ca
Thu Oct 14 11:55:13 EDT 2010


  On 10/14/2010 11:49 AM, Gary Oberbrunner wrote:
>   On 10/14/2010 11:44 AM, Thomas Sibley wrote:
>> On 14 Oct 2010 11:33, Gary Oberbrunner wrote:
>>>   I have some tickets that have HTML (coming from email, which was pasted
>>> from Word), so they have lots of<p class=MsoNormal>...</p>  which RT
>>> displays with a 1em margin, so they get really spaced out.  I can easily
>>> fix that in main.css or ticket.css like this:
>>>
>>> p.MsoNormal {
>>>    margin: 0px 0px;
>>> }
>>>
>>> but how can I make that fix resist being overwritten by new versions of RT?
>> You're looking for callbacks.  See
>> http://wiki.bestpractical.com/view/Customizing.
>>
>> If you told us what version of RT you're running, someone could point
>> you to the right place to look.
> Doh, sorry about that.  3.8.2 on Ubuntu 8.04.  I didn't realize there
> were callbacks for CSS -- how's that even work?!
>
Put your fix in 
.../local/rt/html/Callbacks/MSfix/NoAuth/css/web2/main.css/End

Jeff



More information about the rt-users mailing list