From b58e18bad78525479388e13f017fe4ac1d94e221 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 6 Feb 2017 09:22:56 -0800 Subject: [PATCH] Allow action-list-items to also use text-overflow ellipsis Summary: These just cut off currently if the menu item name is too wide (like mobile). Add some ellipsis Test Plan: Check long name on mobile action list menu Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D17319 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/phui/phui-action-list.css | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 54d469272f..a3418a5069 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' => 'c50d8f46', + 'core.pkg.css' => '25475b75', 'core.pkg.js' => '1fa7c0c5', 'darkconsole.pkg.js' => 'e7393ebb', 'differential.pkg.css' => '4815647b', @@ -128,7 +128,7 @@ return array( 'rsrc/css/phui/object-item/phui-oi-flush-ui.css' => '9d9685d6', 'rsrc/css/phui/object-item/phui-oi-list-view.css' => '5c383524', 'rsrc/css/phui/object-item/phui-oi-simple-ui.css' => 'a8beebea', - 'rsrc/css/phui/phui-action-list.css' => '445c267b', + 'rsrc/css/phui/phui-action-list.css' => 'f980c059', 'rsrc/css/phui/phui-action-panel.css' => '91c7b835', 'rsrc/css/phui/phui-badge.css' => '3baef8db', 'rsrc/css/phui/phui-basic-nav-view.css' => '2e7648d4', @@ -780,7 +780,7 @@ return array( 'path-typeahead' => 'f7fc67ec', 'people-picture-menu-item-css' => 'a06f7f34', 'people-profile-css' => '2473d929', - 'phabricator-action-list-view-css' => '445c267b', + 'phabricator-action-list-view-css' => 'f980c059', 'phabricator-busy' => '59a7976a', 'phabricator-chatlog-css' => 'd295b020', 'phabricator-content-source-view-css' => '4b8b05d4', diff --git a/webroot/rsrc/css/phui/phui-action-list.css b/webroot/rsrc/css/phui/phui-action-list.css index 0df93607f5..874af5ee42 100644 --- a/webroot/rsrc/css/phui/phui-action-list.css +++ b/webroot/rsrc/css/phui/phui-action-list.css @@ -67,6 +67,8 @@ display: block; text-decoration: none; color: {$darkbluetext}; + text-overflow: ellipsis; + overflow: hidden; } .action-has-icon button.phabricator-action-view-item,