Page MenuHomePhabricator

D11382.id27342.diff
No OneTemporary

D11382.id27342.diff

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

Mime Type
text/plain
Expires
Sat, Apr 19, 5:05 AM (4 d, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7791689
Default Alt Text
D11382.id27342.diff (2 KB)

Event Timeline