Modify

Opened 2 years ago

#10362 new defect

CSS rule adds margin to nested children in box with icon

Reported by: lucid Owned by: mrelbe
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)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.