1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00

Make Remarkup Notes not have margin as first or last child

Summary: When a NOTE is at the top or bottom of a document, there is extra unwanted space.

Test Plan:
Write a NOTE as the top of a Phriction document

{F311233}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11846
This commit is contained in:
Chad Little 2015-02-21 06:39:36 -08:00
parent 750595333b
commit 511c619486
2 changed files with 7 additions and 5 deletions

View file

@ -7,7 +7,7 @@
*/
return array(
'names' => array(
'core.pkg.css' => 'd31eec13',
'core.pkg.css' => '44adcc42',
'core.pkg.js' => '23d653bb',
'darkconsole.pkg.js' => '8ab24e01',
'differential.pkg.css' => '380f07e5',
@ -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' => '8f9b9588',
'rsrc/css/core/remarkup.css' => 'de20f873',
'rsrc/css/core/remarkup.css' => 'e8e5a324',
'rsrc/css/core/syntax.css' => '56c1ba38',
'rsrc/css/core/z-index.css' => '40eb7003',
'rsrc/css/diviner/diviner-shared.css' => '38813222',
@ -738,7 +738,7 @@ return array(
'phabricator-phtize' => 'd254d646',
'phabricator-prefab' => '72da38cc',
'phabricator-profile-css' => 'b4896815',
'phabricator-remarkup-css' => 'de20f873',
'phabricator-remarkup-css' => 'e8e5a324',
'phabricator-search-results-css' => 'f240504c',
'phabricator-shaped-request' => '7cbe244b',
'phabricator-side-menu-view-css' => '7e8c6341',

View file

@ -330,7 +330,8 @@
.phabricator-remarkup h5.remarkup-header:first-child,
.phabricator-remarkup h6.remarkup-header:first-child,
.phabricator-remarkup blockquote:first-child,
.phabricator-remarkup table.remarkup-table:first-child {
.phabricator-remarkup table.remarkup-table:first-child,
.phabricator-remarkup .remarkup-note:first-child {
margin-top: 0;
}
@ -345,7 +346,8 @@
.phabricator-remarkup h5.remarkup-header:last-child,
.phabricator-remarkup h6.remarkup-header:last-child,
.phabricator-remarkup blockquote:last-child,
.phabricator-remarkup table.remarkup-table:last-child {
.phabricator-remarkup table.remarkup-table:last-child,
.phabricator-remarkup .remarkup-note:last-child {
margin-bottom: 0;
}