WordPress.org

Making WordPress.org

Opened 5 months ago

Closed 6 weeks ago

#3181 closed defect (fixed)

P2: Extra bottom margin on callout boxes

Reported by: SergeyBiryukov Owned by: obenland
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords: has-screenshots
Cc:

Description

On https://make.wordpress.org/polyglots/teams/?locale=ru_RU, there's a callout box at the bottom.

The box is supposed to have these styles:

.callout p {
    margin-bottom: 0.6em;
    margin-top: 0.5em;
}

They are inadvertently overridden with the theme's default article paragraph styles, resulting in extra bottom margin:

article.post p, article#post-new p, article.page p {
    margin: 0 0 1.2em 0;
}

See the screenshot.

Attachments (1)

3181.PNG (6.1 KB) - added by SergeyBiryukov 5 months ago.

Download all attachments as: .zip

Change History (2)

@SergeyBiryukov
5 months ago

#1 @obenland
6 weeks ago

  • Owner set to obenland
  • Resolution set to fixed
  • Status changed from new to closed

In 6357:

Handbook: Take control of paragraph margins.

Makes sure that callout boxes are displayed correctly.

Fixes #3181.

Note: See TracTickets for help on using tickets.