HomePhorge

remarkup.css: Consistently zero top/bottom margins for first/last block-level…

Description

remarkup.css: Consistently zero top/bottom margins for first/last block-level children

Summary:
For block-level elements that have a margin-top or margin-bottom set
(generally to 12px), also reset the appropriate margin to 0 when
they're a first-child or last-child of their parents.

The change doesn't affect nested lists, their selector is more specific.

Test Plan:
Look at some comments or wiki documents that end with different
block elements, verify that the margins are pretty.

Reviewers: epriestley, #blessed_reviewers, chad

Reviewed By: #blessed_reviewers, chad

Subscribers: Korvin, epriestley

Projects: #remarkup

Maniphest Tasks: T6968

Differential Revision: https://secure.phabricator.com/D11382

Details

Provenance
epriestleyAuthored on Jan 14 2015, 12:14 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPa85452b8d6ec: Allow daemons to be terminated in the absence of MySQL
Branches
Unknown
Tags
Unknown

Event Timeline