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
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
return array(
|
||||
'names' => array(
|
||||
'core.pkg.css' => '38e621cb',
|
||||
'core.pkg.css' => '8d1c0f87',
|
||||
'core.pkg.js' => '27bb3264',
|
||||
'darkconsole.pkg.js' => '8ab24e01',
|
||||
'differential.pkg.css' => '8af45893',
|
||||
@@ -105,7 +105,7 @@ return array(
|
||||
'rsrc/css/application/tokens/tokens.css' => '3d0f239e',
|
||||
'rsrc/css/application/uiexample/example.css' => '528b19de',
|
||||
'rsrc/css/core/core.css' => 'ca42b69f',
|
||||
'rsrc/css/core/remarkup.css' => '7604f12e',
|
||||
'rsrc/css/core/remarkup.css' => '0ee3d256',
|
||||
'rsrc/css/core/syntax.css' => '56c1ba38',
|
||||
'rsrc/css/core/z-index.css' => '44e1d311',
|
||||
'rsrc/css/diviner/diviner-shared.css' => '38813222',
|
||||
@@ -729,7 +729,7 @@ return array(
|
||||
'phabricator-phtize' => 'd254d646',
|
||||
'phabricator-prefab' => '72da38cc',
|
||||
'phabricator-profile-css' => 'fddedfa1',
|
||||
'phabricator-remarkup-css' => '7604f12e',
|
||||
'phabricator-remarkup-css' => '0ee3d256',
|
||||
'phabricator-search-results-css' => 'f240504c',
|
||||
'phabricator-shaped-request' => '7cbe244b',
|
||||
'phabricator-side-menu-view-css' => '7e8c6341',
|
||||
|
||||
Reference in New Issue
Block a user