Modify ↓
Opened 13 years ago
Closed 11 years ago
#10362 closed defect (fixed)
CSS rule adds margin to nested children in box with icon
| Reported by: | lucid | Owned by: | Mikael Relbe |
|---|---|---|---|
| Priority: | normal | Component: | WikiExtrasPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.0 |
Description
boxes.css contains at line 197 this rule:
.wikiextras.box.icon *:first-child {
margin-top: 15px;
}
This makes something like this look weird:
> {{{#! box info
> [[TicketQuery(...)]]
> }}}
because the first child of the ticket query list also gets a margin, not only the list itself.
Should the CSS rule perhaps be changed to something like:
.wikiextras.box.icon > *:first-child {
margin-top: 15px;
}
so only the direct first child of the box gets the margin?
Attachments (0)
Note: See
TracTickets for help on using
tickets.



Indeed, it looks weird. Funny, I haven't seen this myself all years I've been using this... Thanks for finding this!