From c6ba4272d7f840661f51683bdb201b1a881b2c4f Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 26 Jul 2016 12:49:12 -0700 Subject: [PATCH] Clean up mobile spacing on info views in a column Summary: When we have an info view in a column, the css isn't specific enough to override the core info-view css. Test Plan: Review an importing repository, see info view properly spaced. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D16331 --- resources/celerity/map.php | 4 ++-- webroot/rsrc/css/phui/phui-two-column-view.css | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index ab8a0a6782..426fd8ed9d 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -156,7 +156,7 @@ return array( 'rsrc/css/phui/phui-status.css' => 'd5263e49', 'rsrc/css/phui/phui-tag-view.css' => '6bbd83e2', 'rsrc/css/phui/phui-timeline-view.css' => 'bc523970', - 'rsrc/css/phui/phui-two-column-view.css' => '11c9ab96', + 'rsrc/css/phui/phui-two-column-view.css' => '5afdf637', 'rsrc/css/phui/workboards/phui-workboard-color.css' => 'ac6fe6a7', 'rsrc/css/phui/workboards/phui-workboard.css' => 'e6d89647', 'rsrc/css/phui/workboards/phui-workcard.css' => '0c62d7c5', @@ -864,7 +864,7 @@ return array( 'phui-tag-view-css' => '6bbd83e2', 'phui-theme-css' => '027ba77e', 'phui-timeline-view-css' => 'bc523970', - 'phui-two-column-view-css' => '11c9ab96', + 'phui-two-column-view-css' => '5afdf637', 'phui-workboard-color-css' => 'ac6fe6a7', 'phui-workboard-view-css' => 'e6d89647', 'phui-workcard-view-css' => '0c62d7c5', diff --git a/webroot/rsrc/css/phui/phui-two-column-view.css b/webroot/rsrc/css/phui/phui-two-column-view.css index be066b788d..41cfd2db21 100644 --- a/webroot/rsrc/css/phui/phui-two-column-view.css +++ b/webroot/rsrc/css/phui/phui-two-column-view.css @@ -203,6 +203,11 @@ padding: 16px; } +.device .phui-two-column-view .phui-info-view { + margin: 0 0 20px 0; + padding: 12px; +} + .phui-two-column-view .phui-side-column .phui-object-item-empty .phui-info-view { margin-bottom: 0;