Page MenuHomePhabricator

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

Authored by matmarex on Jan 14 2015, 6:56 AM.
Referenced Files
Unknown Object (File)
Thu, Apr 11, 10:42 AM
Unknown Object (File)
Mon, Mar 25, 11:21 AM
Unknown Object (File)
Feb 10 2024, 1:47 AM
Unknown Object (File)
Feb 3 2024, 1:54 AM
Unknown Object (File)
Dec 26 2023, 7:15 PM
Unknown Object (File)
Dec 26 2023, 4:07 PM
Unknown Object (File)
Dec 23 2023, 4:44 AM
Unknown Object (File)
Dec 20 2023, 4:55 AM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

matmarex retitled this revision from to remarkup.css: Consistently zero top/bottom margins for first/last block-level children.
matmarex updated this object.
matmarex edited the test plan for this revision. (Show Details)
matmarex added a reviewer: epriestley.
matmarex set the repository for this revision to rP Phabricator.
matmarex added a project: Remarkup.

Am I expected to include the result of running bin/celerity map in the diff? That feels like something that should be done automatically on merge, since it would cause tons of merge conflicts otherwise, but I see it in some commits in Git.

Yeah, you'll need to run and include bin/celerity map with this revision.

matmarex edited the test plan for this revision. (Show Details)
matmarex edited edge metadata.

bin/celerity map

chad edited edge metadata.

shipitquick

Will let @epriestley land

This revision is now accepted and ready to land.Jan 14 2015, 8:11 PM
This revision was automatically updated to reflect the committed changes.