From 5c9f0de9db2148e6c0f7b1351b4403d2d21b850b Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sun, 22 Jun 2014 11:37:52 -0700 Subject: [PATCH] Better CSS target of inline comments in Pholio Summary: Adds a top border only if a comment is preceding. Test Plan: test inlines with and without commentsy Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9666 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/aphront/transaction.css | 9 ++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 69a3ef44b9..98b6000d83 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ return array( 'names' => array( - 'core.pkg.css' => '8feeb38a', + 'core.pkg.css' => '2400facf', 'core.pkg.js' => 'b440d8d7', 'darkconsole.pkg.js' => 'ca8671ce', 'differential.pkg.css' => '4a93db37', @@ -32,7 +32,7 @@ return array( 'rsrc/css/aphront/table-view.css' => 'b22b7216', 'rsrc/css/aphront/tokenizer.css' => '82ce2142', 'rsrc/css/aphront/tooltip.css' => '9c90229d', - 'rsrc/css/aphront/transaction.css' => '3fe49ff1', + 'rsrc/css/aphront/transaction.css' => '5d0cae25', 'rsrc/css/aphront/two-column.css' => '16ab3ad2', 'rsrc/css/aphront/typeahead.css' => 'a989b5b3', 'rsrc/css/application/auth/auth.css' => '1e655982', @@ -738,7 +738,7 @@ return array( 'phabricator-standard-page-view' => '517cdfb1', 'phabricator-textareautils' => 'b3ec3cfc', 'phabricator-tooltip' => '3915d490', - 'phabricator-transaction-view-css' => '3fe49ff1', + 'phabricator-transaction-view-css' => '5d0cae25', 'phabricator-ui-example-css' => '528b19de', 'phabricator-uiexample-javelin-view' => 'd4a14807', 'phabricator-uiexample-reactor-button' => '44524435', diff --git a/webroot/rsrc/css/aphront/transaction.css b/webroot/rsrc/css/aphront/transaction.css index d7fea9c315..1aa44083d8 100644 --- a/webroot/rsrc/css/aphront/transaction.css +++ b/webroot/rsrc/css/aphront/transaction.css @@ -53,12 +53,15 @@ .phabricator-transaction-subheader { color: {$lightgreytext}; - border-top: 1px solid {$thinblueborder}; - padding-top: 12px; - margin-top: 12px; padding-bottom: 8px; } +.transaction-comment + .phabricator-transaction-subheader { + border-top: 1px solid {$thinblueborder}; + margin-top: 12px; + padding-top: 12px; +} + div.phabricator-remarkup + .phabricator-transaction-subheader { margin-top: 12px; }