diff --git a/resources/celerity/map.php b/resources/celerity/map.php --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ return array( 'names' => array( - 'core.pkg.css' => 'd9c53a92', + 'core.pkg.css' => 'e6328d79', 'core.pkg.js' => 'b6689fe1', 'darkconsole.pkg.js' => 'ca8671ce', 'differential.pkg.css' => '4a93db37', @@ -105,7 +105,7 @@ 'rsrc/css/application/tokens/tokens.css' => '3d0f239e', 'rsrc/css/application/uiexample/example.css' => '528b19de', 'rsrc/css/core/core.css' => '40151074', - 'rsrc/css/core/remarkup.css' => 'b510c359', + 'rsrc/css/core/remarkup.css' => '1e050b00', 'rsrc/css/core/syntax.css' => '3c18c1cb', 'rsrc/css/core/z-index.css' => 'efb673ac', 'rsrc/css/diviner/diviner-shared.css' => '38813222', @@ -715,7 +715,7 @@ 'phabricator-prefab' => '41ed7994', 'phabricator-profile-css' => '33e6f703', 'phabricator-project-tag-css' => '095c9404', - 'phabricator-remarkup-css' => 'b510c359', + 'phabricator-remarkup-css' => '1e050b00', 'phabricator-search-results-css' => 'f240504c', 'phabricator-shaped-request' => '7cbe244b', 'phabricator-side-menu-view-css' => 'a2ccd7bd', diff --git a/webroot/rsrc/css/core/remarkup.css b/webroot/rsrc/css/core/remarkup.css --- a/webroot/rsrc/css/core/remarkup.css +++ b/webroot/rsrc/css/core/remarkup.css @@ -96,12 +96,12 @@ list-style-type: none; } -.phabricator-remarkup h1:first-child, -.phabricator-remarkup h2:first-child, -.phabricator-remarkup h3:first-child, -.phabricator-remarkup h4:first-child, -.phabricator-remarkup h5:first-child, -.phabricator-remarkup h6:first-child { +.phabricator-remarkup h1:first-child, .phabricator-remarkup .phabricator-remarkup-toc:first-child+h1, +.phabricator-remarkup h2:first-child, .phabricator-remarkup .phabricator-remarkup-toc:first-child+h2, +.phabricator-remarkup h3:first-child, .phabricator-remarkup .phabricator-remarkup-toc:first-child+h3, +.phabricator-remarkup h4:first-child, .phabricator-remarkup .phabricator-remarkup-toc:first-child+h4, +.phabricator-remarkup h5:first-child, .phabricator-remarkup .phabricator-remarkup-toc:first-child+h5, +.phabricator-remarkup h6:first-child, .phabricator-remarkup .phabricator-remarkup-toc:first-child+h6 { margin-top: 0; }