WordPress.org

Making WordPress.org

Opened 6 years ago

Closed 5 years ago

#282 closed enhancement (fixed)

Header tags (h3) look wonky when boxed

Reported by: adamsilverstein Owned by: samuelsidler
Milestone: Priority: normal
Component: General Keywords: needs-patch 2nd-opinion
Cc:

Description

Currently header tags on the codex look a bit off. The header almost touches the top margin, yet has a huge margin on the bottom.

The header looks like this:
http://f.cl.ly/items/2m3q3U0w3n25313A181U/Working%20with%20WordPress%20%C2%AB%20WordPress%20Codex%202014-01-17%2013-16-55.jpg

The CSS thats causing this is on L43 in style/codex-wp4.css

#bodyContent h3 {
    margin-bottom: 4px;
    padding-bottom: 4px;
}

Patch to fix that upcoming

Attachments (2)

282.diff (467 bytes) - added by adamsilverstein 6 years ago.
fix spacing for headers inside divs
282.2.diff (469 bytes) - added by adamsilverstein 6 years ago.
only target direct children of divs

Download all attachments as: .zip

Change History (7)

#1 @adamsilverstein
6 years ago

  • Summary changed from Header tags (h3 .mw-headline) look wonky to Header tags (h3) look wonky when boxed

@adamsilverstein
6 years ago

fix spacing for headers inside divs

#2 @adamsilverstein
6 years ago

282.diff: use even spacing around h3 tags contained directly in div tags.

@adamsilverstein
6 years ago

only target direct children of divs

#3 @adamsilverstein
6 years ago

282.2.diff More specific selector, only direct children of divs.

This ticket was mentioned in IRC in #wordpress-meta by sams. View the logs.


5 years ago

#5 @samuelsidler
5 years ago

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

In 621:

Codex: Fix h3 tags when boxed. fixes #282. props adamsilverstein

Note: See TracTickets for help on using tickets.