mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Project dashboard: Fix user label overflow
Adds text-overflow for long user names on project dashboard
This commit is contained in:
parent
94b16b3bd5
commit
160fc13713
@ -10012,13 +10012,17 @@ div.container div.panel div#details-tab-addloadBalancer.detail-group div.loadBal
|
||||
}
|
||||
|
||||
.project-dashboard-view .users .system-dashboard li .header {
|
||||
width: 77px;
|
||||
/*+placement:shift 7px 110px;*/
|
||||
position: relative;
|
||||
left: 7px;
|
||||
top: 110px;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
width: 77px;
|
||||
max-width: 77px;
|
||||
/*+placement:shift 7px 110px;*/
|
||||
position: relative;
|
||||
left: 7px;
|
||||
top: 110px;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/**** Info box*/
|
||||
|
||||
@ -106,7 +106,8 @@
|
||||
$.each(item, function(arrayKey, arrayValue) {
|
||||
var $arrayElem = $li.find('[data-list-item=' + arrayKey + ']');
|
||||
|
||||
$arrayElem.html(_s(arrayValue));
|
||||
$arrayElem.text(_s(arrayValue));
|
||||
$arrayElem.attr('title', _s(arrayValue));
|
||||
});
|
||||
|
||||
$li.attr({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user