From a7e33700a060302cb693f60c6e346a0a0e218006 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 16 Jul 2015 17:15:27 -0700 Subject: [PATCH] Fix Calendar/Double Panel Headers Summary: Fixes T8829. Moves the padding and background to the outer container instead of the table itself. Test Plan: Test Calendar Month View, Calendar Day View, A Text Panel with Multiple Dashboards. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8829 Differential Revision: https://secure.phabricator.com/D13631 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/phui/phui-object-box.css | 8 ++------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 53452a78e7..a38bcb01f0 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => 'b84ca22b', + 'core.pkg.css' => '852bf913', 'core.pkg.js' => 'a590b451', 'darkconsole.pkg.js' => 'e7393ebb', 'differential.pkg.css' => '9451634c', @@ -141,7 +141,7 @@ return array( 'rsrc/css/phui/phui-info-panel.css' => '27ea50a1', 'rsrc/css/phui/phui-info-view.css' => '5b16bac6', 'rsrc/css/phui/phui-list.css' => '125599df', - 'rsrc/css/phui/phui-object-box.css' => '3db9f358', + 'rsrc/css/phui/phui-object-box.css' => '407eaf5a', 'rsrc/css/phui/phui-object-item-list-view.css' => 'fc19bfc1', 'rsrc/css/phui/phui-pager.css' => 'bea33d23', 'rsrc/css/phui/phui-pinboard-view.css' => '2495140e', @@ -796,7 +796,7 @@ return array( 'phui-info-view-css' => '5b16bac6', 'phui-inline-comment-view-css' => '9fadd6b8', 'phui-list-view-css' => '125599df', - 'phui-object-box-css' => '3db9f358', + 'phui-object-box-css' => '407eaf5a', 'phui-object-item-list-view-css' => 'fc19bfc1', 'phui-pager-css' => 'bea33d23', 'phui-pinboard-view-css' => '2495140e', diff --git a/webroot/rsrc/css/phui/phui-object-box.css b/webroot/rsrc/css/phui/phui-object-box.css index f8378a9dbf..d7452c2126 100644 --- a/webroot/rsrc/css/phui/phui-object-box.css +++ b/webroot/rsrc/css/phui/phui-object-box.css @@ -120,11 +120,6 @@ div.phui-object-box.phui-object-box-flush { margin: 0; } -.phui-object-box .phui-object-box .phui-header-shell .phui-header-view { - padding: 4px 8px; - background-color: {$lightgreybackground}; -} - .phui-object-box .phui-object-box .phui-header-shell .phui-header-header { font-size: {$normalfontsize}; margin: 0; @@ -134,5 +129,6 @@ div.phui-object-box.phui-object-box-flush { .phui-object-box .phui-object-box .phui-header-shell { margin: 0; - padding: 0; + padding: 4px 8px; + background-color: {$lightgreybackground}; }