1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00

Ellipsize long labels in Add Action area to avoid text overlap

Summary:
Add CSS to ellipsize long labels and disable text wrapping

Closes T15707

Test Plan:
Set a long custom "action" label in `/config/edit/maniphest.points/`; go to a Maniphest task; open all items in the "Add Action..." dropdown.

Example config:

```
{
  "enabled": true,
  "label": "Points",
  "action": "Set Points Yeah Points Points Much Points"
}
```

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15707

Differential Revision: https://we.phorge.it/D25511
This commit is contained in:
Andre Klapper 2024-01-11 19:16:31 +01:00
parent 549a26d087
commit cc964550f9
2 changed files with 6 additions and 3 deletions

View file

@ -9,7 +9,7 @@ return array(
'names' => array(
'conpherence.pkg.css' => '2f25eb4f',
'conpherence.pkg.js' => '020aebcf',
'core.pkg.css' => '9f620ef6',
'core.pkg.css' => '5e7dbeb9',
'core.pkg.js' => '2eeda9e0',
'dark-console.pkg.js' => '187792c2',
'differential.pkg.css' => '2431def2',
@ -143,7 +143,7 @@ return array(
'rsrc/css/phui/phui-bulk-editor.css' => '374d5e30',
'rsrc/css/phui/phui-chart.css' => 'fe8f87a7',
'rsrc/css/phui/phui-cms.css' => '8c05c41e',
'rsrc/css/phui/phui-comment-form.css' => '9feec837',
'rsrc/css/phui/phui-comment-form.css' => '3c6679a3',
'rsrc/css/phui/phui-comment-panel.css' => 'ec4e31c0',
'rsrc/css/phui/phui-crumbs-view.css' => '614f43cf',
'rsrc/css/phui/phui-curtain-object-ref-view.css' => '51d93266',
@ -835,7 +835,7 @@ return array(
'phui-calendar-month-css' => 'cb758c42',
'phui-chart-css' => 'fe8f87a7',
'phui-cms-css' => '8c05c41e',
'phui-comment-form-css' => '9feec837',
'phui-comment-form-css' => '3c6679a3',
'phui-comment-panel-css' => 'ec4e31c0',
'phui-crumbs-view-css' => '614f43cf',
'phui-curtain-object-ref-view-css' => '51d93266',

View file

@ -158,6 +158,9 @@ body.device .phui-box.phui-object-box.phui-comment-form-view {
height: 28px;
line-height: 28px;
padding: 0;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.phui-comment-form-view .aphront-form-error .phui-icon-view {