Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14120201
D11382.id27358.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D11382.id27358.diff
View Options
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' => '38e621cb',
+ 'core.pkg.css' => '8d1c0f87',
'core.pkg.js' => '27bb3264',
'darkconsole.pkg.js' => '8ab24e01',
'differential.pkg.css' => '8af45893',
@@ -105,7 +105,7 @@
'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 @@
'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',
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
@@ -10,10 +10,6 @@
margin: 0 0 12px;
}
-.phabricator-remarkup p:last-child {
- margin-bottom: 0;
-}
-
.phabricator-remarkup .remarkup-code-block {
margin: 12px;
white-space: pre;
@@ -96,24 +92,6 @@
list-style-type: none;
}
-.phabricator-remarkup h1.remarkup-header:first-child,
-.phabricator-remarkup h2.remarkup-header:first-child,
-.phabricator-remarkup h3.remarkup-header:first-child,
-.phabricator-remarkup h4.remarkup-header:first-child,
-.phabricator-remarkup h5.remarkup-header:first-child,
-.phabricator-remarkup h6.remarkup-header:first-child {
- margin-top: 0;
-}
-
-.phabricator-remarkup h1.remarkup-header:last-child,
-.phabricator-remarkup h2.remarkup-header:last-child,
-.phabricator-remarkup h3.remarkup-header:last-child,
-.phabricator-remarkup h4.remarkup-header:last-child,
-.phabricator-remarkup h5.remarkup-header:last-child,
-.phabricator-remarkup h6.remarkup-header:last-child {
- margin-bottom: 0;
-}
-
.phabricator-remarkup h1.remarkup-header {
font-size: 1.625em;
line-height: 1.625em;
@@ -341,6 +319,36 @@
padding: 3px 6px;
}
+.phabricator-remarkup p:first-child,
+.phabricator-remarkup ul.remarkup-list:first-child,
+.phabricator-remarkup ol.remarkup-list:first-child,
+.phabricator-remarkup .remarkup-code-block:first-child,
+.phabricator-remarkup h1.remarkup-header:first-child,
+.phabricator-remarkup h2.remarkup-header:first-child,
+.phabricator-remarkup h3.remarkup-header:first-child,
+.phabricator-remarkup h4.remarkup-header:first-child,
+.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 {
+ margin-top: 0;
+}
+
+.phabricator-remarkup p:last-child,
+.phabricator-remarkup ul.remarkup-list:last-child,
+.phabricator-remarkup ol.remarkup-list:last-child,
+.phabricator-remarkup .remarkup-code-block:last-child,
+.phabricator-remarkup h1.remarkup-header:last-child,
+.phabricator-remarkup h2.remarkup-header:last-child,
+.phabricator-remarkup h3.remarkup-header:last-child,
+.phabricator-remarkup h4.remarkup-header:last-child,
+.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 {
+ margin-bottom: 0;
+}
+
.remarkup-assist-textarea {
border-left-color: {$blueborder};
border-right-color: {$blueborder};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 7:46 AM (22 h, 22 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6808310
Default Alt Text
D11382.id27358.diff (3 KB)
Attached To
Mode
D11382: remarkup.css: Consistently zero top/bottom margins for first/last block-level children
Attached
Detach File
Event Timeline
Log In to Comment