Skip to content

Commit 683b022

Browse files
author
Chad Little
committed
Fix long project names in policy controls
Summary: Fixes T12366. Adds a text-overflow to policy buttons. Test Plan: Set a view policy to MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM Reviewers: epriestley, eliaspro Reviewed By: epriestley, eliaspro Subscribers: eliaspro, Korvin Maniphest Tasks: T12366 Differential Revision: https://secure.phabricator.com/D17478
1 parent 3422b42 commit 683b022

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

resources/celerity/map.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
'names' => array(
1010
'conpherence.pkg.css' => '6875302f',
1111
'conpherence.pkg.js' => '6249a1cf',
12-
'core.pkg.css' => 'aab1d168',
12+
'core.pkg.css' => 'bb303011',
1313
'core.pkg.js' => '1fa7c0c5',
1414
'darkconsole.pkg.js' => 'e7393ebb',
1515
'differential.pkg.css' => '90b30783',
@@ -134,7 +134,7 @@
134134
'rsrc/css/phui/phui-basic-nav-view.css' => 'a0705f53',
135135
'rsrc/css/phui/phui-big-info-view.css' => 'bd903741',
136136
'rsrc/css/phui/phui-box.css' => '269cbc99',
137-
'rsrc/css/phui/phui-button.css' => '7eaff361',
137+
'rsrc/css/phui/phui-button.css' => 'd30999e4',
138138
'rsrc/css/phui/phui-chart.css' => '6bf6f78e',
139139
'rsrc/css/phui/phui-cms.css' => '504b4b23',
140140
'rsrc/css/phui/phui-comment-form.css' => '48fbd65d',
@@ -841,7 +841,7 @@
841841
'phui-basic-nav-view-css' => 'a0705f53',
842842
'phui-big-info-view-css' => 'bd903741',
843843
'phui-box-css' => '269cbc99',
844-
'phui-button-css' => '7eaff361',
844+
'phui-button-css' => 'd30999e4',
845845
'phui-calendar-css' => '477acfaa',
846846
'phui-calendar-day-css' => '572b1893',
847847
'phui-calendar-list-css' => '576be600',

webroot/rsrc/css/phui/phui-button.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,13 @@ a.policy-control .caret {
235235
float: right;
236236
}
237237

238+
a.policy-control .phui-button-text {
239+
overflow: hidden;
240+
text-overflow: ellipsis;
241+
white-space: nowrap;
242+
display: block;
243+
}
244+
238245
.caret {
239246
display: inline-block;
240247
width: 0;

0 commit comments

Comments
 (0)