From ad382b3abe8f70de824aaa25dca7617de0525408 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 30 Dec 2013 15:19:48 -0800 Subject: [PATCH] Mobile fix for creating another task UI Summary: Makes the layout more useful on mobile. Fixes T3042 Test Plan: Review layout on mobile. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Maniphest Tasks: T3042 Differential Revision: https://secure.phabricator.com/D7860 --- src/__celerity_resource_map__.php | 2 +- webroot/rsrc/css/aphront/context-bar.css | 21 +++++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/__celerity_resource_map__.php b/src/__celerity_resource_map__.php index a2855ea66b..1b91604b5d 100644 --- a/src/__celerity_resource_map__.php +++ b/src/__celerity_resource_map__.php @@ -853,7 +853,7 @@ celerity_register_resource_map(array( ), 'aphront-contextbar-view-css' => array( - 'uri' => '/res/46c6248f/rsrc/css/aphront/context-bar.css', + 'uri' => '/res/d2e04a0a/rsrc/css/aphront/context-bar.css', 'type' => 'css', 'requires' => array( diff --git a/webroot/rsrc/css/aphront/context-bar.css b/webroot/rsrc/css/aphront/context-bar.css index 374e19b740..b130f3d700 100644 --- a/webroot/rsrc/css/aphront/context-bar.css +++ b/webroot/rsrc/css/aphront/context-bar.css @@ -8,6 +8,10 @@ border-bottom: 1px solid {$lightblueborder}; } +.device-phone .aphront-contextbar-view { + padding: 12px 8px; +} + .aphront-contextbar-content { padding-top: 5px; font-size: 13px; @@ -18,11 +22,24 @@ float: right; } +.device-phone .aphront-contextbar-buttons { + float: none; +} + .aphront-contextbar-buttons label { font-weight: bold; color: {$bluetext}; } -.aphront-contextbar-buttons a { - margin: 0 0 0 .5em; +.device-phone .aphront-contextbar-buttons label { + display: block; + margin-bottom: 4px; +} + +.aphront-contextbar-buttons a { + margin: 0 0 0 8px; +} + +.device-phone .aphront-contextbar-buttons a { + margin: 0 8px 0 0; }