Making WordPress.org

Opened 7 years ago

Closed 7 years ago

#3181 closed defect (bug) (fixed)

P2: Extra bottom margin on callout boxes

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: obenland's profile 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 7 years ago.

Download all attachments as: .zip

Change History (2)

@SergeyBiryukov
7 years ago

#1 @obenland
7 years 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.