From b33bb3714bdb570d1e2a9b5b6fec4c5969f8b3af Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 6 Feb 2017 08:54:55 -0800 Subject: [PATCH] Add some max-width to basic-nav Summary: Fixes T12214. Adds a max-width Test Plan: Tested on Home, Projects, Appsearch Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12214 Differential Revision: https://secure.phabricator.com/D17318 --- resources/celerity/map.php | 10 +++++----- webroot/rsrc/css/aphront/phabricator-nav-view.css | 1 + webroot/rsrc/css/phui/phui-basic-nav-view.css | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 5d79b0636c..54d469272f 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -9,7 +9,7 @@ return array( 'names' => array( 'conpherence.pkg.css' => 'a520d619', 'conpherence.pkg.js' => '6249a1cf', - 'core.pkg.css' => '946cfd80', + 'core.pkg.css' => 'c50d8f46', 'core.pkg.js' => '1fa7c0c5', 'darkconsole.pkg.js' => 'e7393ebb', 'differential.pkg.css' => '4815647b', @@ -26,7 +26,7 @@ return array( 'rsrc/css/aphront/multi-column.css' => '84cc6640', 'rsrc/css/aphront/notification.css' => '3f6c89c9', 'rsrc/css/aphront/panel-view.css' => '8427b78d', - 'rsrc/css/aphront/phabricator-nav-view.css' => 'b29426e9', + 'rsrc/css/aphront/phabricator-nav-view.css' => 'e58a4a30', 'rsrc/css/aphront/table-view.css' => '213a5981', 'rsrc/css/aphront/tokenizer.css' => '9a8cb501', 'rsrc/css/aphront/tooltip.css' => '173b9431', @@ -131,7 +131,7 @@ return array( 'rsrc/css/phui/phui-action-list.css' => '445c267b', 'rsrc/css/phui/phui-action-panel.css' => '91c7b835', 'rsrc/css/phui/phui-badge.css' => '3baef8db', - 'rsrc/css/phui/phui-basic-nav-view.css' => 'c2707bf1', + 'rsrc/css/phui/phui-basic-nav-view.css' => '2e7648d4', 'rsrc/css/phui/phui-big-info-view.css' => 'bd903741', 'rsrc/css/phui/phui-box.css' => '269cbc99', 'rsrc/css/phui/phui-button.css' => '7eaff361', @@ -798,7 +798,7 @@ return array( 'phabricator-keyboard-shortcut' => '1ae869f2', 'phabricator-keyboard-shortcut-manager' => '4a021c10', 'phabricator-main-menu-view' => '43d59288', - 'phabricator-nav-view-css' => 'b29426e9', + 'phabricator-nav-view-css' => 'e58a4a30', 'phabricator-notification' => 'ccf1cbf8', 'phabricator-notification-css' => '3f6c89c9', 'phabricator-notification-menu-css' => '6a697e43', @@ -838,7 +838,7 @@ return array( 'phriction-document-css' => '4282e4ad', 'phui-action-panel-css' => '91c7b835', 'phui-badge-view-css' => '3baef8db', - 'phui-basic-nav-view-css' => 'c2707bf1', + 'phui-basic-nav-view-css' => '2e7648d4', 'phui-big-info-view-css' => 'bd903741', 'phui-box-css' => '269cbc99', 'phui-button-css' => '7eaff361', diff --git a/webroot/rsrc/css/aphront/phabricator-nav-view.css b/webroot/rsrc/css/aphront/phabricator-nav-view.css index 0846a1a4fe..a9c32f2e00 100644 --- a/webroot/rsrc/css/aphront/phabricator-nav-view.css +++ b/webroot/rsrc/css/aphront/phabricator-nav-view.css @@ -29,6 +29,7 @@ padding-right: 0; background-color: transparent; width: 205px; + max-width: 205px; } .device-phone .phui-basic-nav.phui-navigation-shell diff --git a/webroot/rsrc/css/phui/phui-basic-nav-view.css b/webroot/rsrc/css/phui/phui-basic-nav-view.css index 12605cc552..cabf146fde 100644 --- a/webroot/rsrc/css/phui/phui-basic-nav-view.css +++ b/webroot/rsrc/css/phui/phui-basic-nav-view.css @@ -40,6 +40,7 @@ .phui-basic-nav.phui-navigation-shell .phabricator-nav-local { width: 205px; + max-width: 205px; padding-top: 12px; padding-right: 8px; }