Homec4science

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

Authored by epriestley <git@epriestley.com> on Jan 14 2015, 21:14.

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

Committed
epriestley <git@epriestley.com>Jan 14 2015, 21:15
Pushed
aubortJan 31 2017, 17:16
Parents
rPHa85452b8d6ec: Allow daemons to be terminated in the absence of MySQL
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH2297a43d446b: remarkup.css: Consistently zero top/bottom margins for first/last block-level… (authored by epriestley <git@epriestley.com>).Jan 14 2015, 21:15