From 299510737dfa8f9537a0df53183fa66c12519f2c Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 11 Jun 2014 15:48:52 -0700 Subject: [PATCH] Slighly better paste object items Summary: Makes the code view have a border, proper spacing. Test Plan: view a list of pastes Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9491 --- resources/celerity/map.php | 4 ++-- webroot/rsrc/css/layout/phabricator-source-code-view.css | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 380ecca678..9e5757e185 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -117,7 +117,7 @@ return array( 'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82', 'rsrc/css/layout/phabricator-hovercard-view.css' => 'e010d7db', 'rsrc/css/layout/phabricator-side-menu-view.css' => 'a2ccd7bd', - 'rsrc/css/layout/phabricator-source-code-view.css' => '62a99814', + 'rsrc/css/layout/phabricator-source-code-view.css' => '7d346aa4', 'rsrc/css/phui/calendar/phui-calendar-day.css' => 'de035c8a', 'rsrc/css/phui/calendar/phui-calendar-list.css' => 'c1d0ca59', 'rsrc/css/phui/calendar/phui-calendar-month.css' => 'a92e47d2', @@ -721,7 +721,7 @@ return array( 'phabricator-shaped-request' => '7cbe244b', 'phabricator-side-menu-view-css' => 'a2ccd7bd', 'phabricator-slowvote-css' => '266df6a1', - 'phabricator-source-code-view-css' => '62a99814', + 'phabricator-source-code-view-css' => '7d346aa4', 'phabricator-standard-page-view' => '517cdfb1', 'phabricator-textareautils' => 'b3ec3cfc', 'phabricator-tooltip' => '3915d490', diff --git a/webroot/rsrc/css/layout/phabricator-source-code-view.css b/webroot/rsrc/css/layout/phabricator-source-code-view.css index 48d7f7d095..0c2a4106fb 100644 --- a/webroot/rsrc/css/layout/phabricator-source-code-view.css +++ b/webroot/rsrc/css/layout/phabricator-source-code-view.css @@ -8,6 +8,11 @@ overflow-y: hidden; } +.phui-object-item .phabricator-source-code-container { + margin-left: 8px; + border: 1px solid #d7d7d7; +} + .phabricator-source-code-view tr:first-child * { padding-top: 8px; }