Skip to content

Commit 3277d8b

Browse files
author
Chad Little
committedMar 9, 2017
Use text ellipsis on hovercard tags
Summary: Fixes T12326. Users can make really log tag titles, this forces ellipsis if it is too long. Test Plan: Write a super long tag, see ellipisis. Test a small tag, see normal layout. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12326 Differential Revision: https://secure.phabricator.com/D17486
1 parent d0c648d commit 3277d8b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
 

‎resources/celerity/map.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
'rsrc/css/application/policy/policy-transaction-detail.css' => '82100a43',
9797
'rsrc/css/application/policy/policy.css' => '957ea14c',
9898
'rsrc/css/application/ponder/ponder-view.css' => 'fbd45f96',
99-
'rsrc/css/application/project/project-card-view.css' => '77219296',
99+
'rsrc/css/application/project/project-card-view.css' => 'e17bf825',
100100
'rsrc/css/application/project/project-view.css' => '792c9057',
101101
'rsrc/css/application/releeph/releeph-core.css' => '9b3c5733',
102102
'rsrc/css/application/releeph/releeph-preview-branch.css' => 'b7a6f4a5',
@@ -905,7 +905,7 @@
905905
'policy-edit-css' => '815c66f7',
906906
'policy-transaction-detail-css' => '82100a43',
907907
'ponder-view-css' => 'fbd45f96',
908-
'project-card-view-css' => '77219296',
908+
'project-card-view-css' => 'e17bf825',
909909
'project-view-css' => '792c9057',
910910
'releeph-core' => '9b3c5733',
911911
'releeph-preview-branch' => 'b7a6f4a5',

‎webroot/rsrc/css/application/project/project-card-view.css

+8
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@
103103
margin-top: 8px;
104104
}
105105

106+
.project-card-view .phui-header-subheader .phui-tag-core {
107+
text-overflow: ellipsis;
108+
white-space: nowrap;
109+
max-width: 232px;
110+
overflow: hidden;
111+
display: inline-block;
112+
}
113+
106114
.project-card-view .phui-header-header .phui-tag-view .phui-tag-core {
107115
padding: 0;
108116
}

0 commit comments

Comments
 (0)
Failed to load comments.