From 53493ccf9396924c8e2933c9082fc9a015bf4cda Mon Sep 17 00:00:00 2001 From: Chad Little Date: Fri, 31 Oct 2014 10:45:11 -0700 Subject: [PATCH] Apple remarkup-code padding to child spans as well. Summary: Fixes T6440. The issue is when a nested span appears, we don't apply the spacing. Test Plan: Test a new diff in my sandbox that exhibits the issue. Ensure spacing now aligns. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6440 Differential Revision: https://secure.phabricator.com/D10768 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/core/syntax.css | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 3cdef77967..c1f4923049 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '1d489507', + 'core.pkg.css' => 'cab5a4a0', 'core.pkg.js' => 'cbdbd552', 'darkconsole.pkg.js' => 'df001cab', 'differential.pkg.css' => '8af45893', @@ -104,7 +104,7 @@ return array( 'rsrc/css/application/uiexample/example.css' => '528b19de', 'rsrc/css/core/core.css' => '40151074', 'rsrc/css/core/remarkup.css' => '45313445', - 'rsrc/css/core/syntax.css' => '863f3cd8', + 'rsrc/css/core/syntax.css' => '56c1ba38', 'rsrc/css/core/z-index.css' => '44e1d311', 'rsrc/css/diviner/diviner-shared.css' => '38813222', 'rsrc/css/font/font-awesome.css' => '73d075c3', @@ -818,7 +818,7 @@ return array( 'sprite-payments-css' => 'cc085d44', 'sprite-projects-css' => '7578fa56', 'sprite-tokens-css' => '1706b943', - 'syntax-highlighting-css' => '863f3cd8', + 'syntax-highlighting-css' => '56c1ba38', 'tokens-css' => '3d0f239e', ), 'requires' => array( diff --git a/webroot/rsrc/css/core/syntax.css b/webroot/rsrc/css/core/syntax.css index db41a3c169..4669c18647 100644 --- a/webroot/rsrc/css/core/syntax.css +++ b/webroot/rsrc/css/core/syntax.css @@ -10,8 +10,9 @@ margin-right: 1px; } -.remarkup-code td > span { - padding: 1px 0 3px; +.remarkup-code td > span, +.remarkup-code td > span > span { + padding: 1px 0 3px; } .remarkup-code span {