From ce30f8c88bf6541ebbdfa1dd6920658a4cd0255f Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sun, 31 Jan 2016 20:08:13 +0000 Subject: [PATCH] Make PHUITags not break/wrap Summary: Currently these break at the icon and any whitespace, instead force them to notwrap and stack the display if there are too many large tags. I think we're much more resilient CSS wise now I can't find any hairy edge cases. Test Plan: Try to break tags in 50/50 dashboard layouts like Wikimedia {F1082103} Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T10245 Differential Revision: https://secure.phabricator.com/D15143 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/phui/phui-tag-view.css | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 56aee8abdc..02e5d3e5d8 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '5e4df064', + 'core.pkg.css' => '28355cef', 'core.pkg.js' => 'a79eed25', 'darkconsole.pkg.js' => 'e7393ebb', 'differential.pkg.css' => '2de124c9', @@ -149,7 +149,7 @@ return array( 'rsrc/css/phui/phui-remarkup-preview.css' => '1a8f2591', 'rsrc/css/phui/phui-spacing.css' => '042804d6', 'rsrc/css/phui/phui-status.css' => '888cedb8', - 'rsrc/css/phui/phui-tag-view.css' => 'e60e227b', + 'rsrc/css/phui/phui-tag-view.css' => '9d5d4400', 'rsrc/css/phui/phui-timeline-view.css' => '2efceff8', 'rsrc/css/phui/phui-two-column-view.css' => 'c75bfc5b', 'rsrc/css/phui/workboards/phui-workboard.css' => 'b07a5524', @@ -825,7 +825,7 @@ return array( 'phui-remarkup-preview-css' => '1a8f2591', 'phui-spacing-css' => '042804d6', 'phui-status-list-view-css' => '888cedb8', - 'phui-tag-view-css' => 'e60e227b', + 'phui-tag-view-css' => '9d5d4400', 'phui-theme-css' => 'ab7b848c', 'phui-timeline-view-css' => '2efceff8', 'phui-two-column-view-css' => 'c75bfc5b', diff --git a/webroot/rsrc/css/phui/phui-tag-view.css b/webroot/rsrc/css/phui/phui-tag-view.css index 4396fe8fe3..c6bb18ed0a 100644 --- a/webroot/rsrc/css/phui/phui-tag-view.css +++ b/webroot/rsrc/css/phui/phui-tag-view.css @@ -7,6 +7,7 @@ text-decoration: none; position: relative; -webkit-font-smoothing: antialiased; + white-space: nowrap; } a.phui-tag-view:hover { @@ -149,7 +150,7 @@ a.phui-tag-view:hover } .phui-object-item .phabricator-handle-tag-list-item { - display: inline; + display: inline-block; margin: 0 4px 2px 0; }