Modify ↓
Ticket #7400 (closed defect: fixed)
Opened 4 years ago
Last modified 4 years ago
TicketQuery macro "format=table" mode alters wiki style
| Reported by: | Jason Winnebeck <jpwasp@…> | Owned by: | cboos |
|---|---|---|---|
| Priority: | low | Milestone: | 0.11.1 |
| Component: | wiki system | Version: | 0.11-stable |
| Severity: | minor | Keywords: | css |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
When running TicketQuery macro with table format, it includes report.css, which includes styles for things such as h2, which modify the end result of the rest of the wiki page, even the parts not around the actual macro call itself.
Perhaps including report.css earlier in the stylesheet chain will add new styles but not override existing ones in wiki.css
(Trac r7289 of 0.11-stable)
Attachments
Change History
comment:1 Changed 4 years ago by cboos
- Keywords css added
- Owner set to cboos
- Severity changed from trivial to minor
comment:2 Changed 4 years ago by cboos
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



report.css is added by the macro, while the <body> is generated. The <head> is already generated at this point (mh, but not yet serialized, so maybe we could filter/transform it?).
In any case, for now better make the CSS more specific (there's also a glitch for fieldset legend a, visible while previewing a ticket containing a TicketQuery macro).