Ellipsis is not working and i'm loosing it. Here is the CSS piece:
.inbox-widget-namecell {
font-size: 16px;
display: block;
position: absolute;
left: 22px;
top: 17px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
width: 60%;
}
Here is the HTML piece:
<div>
<listbox model="@load(vm.inboxListModel)" zclass="inbox-widget-listbox" if="${vm.isEmpty}">
<template name="model" var="item">
<listitem zclass="inbox-widget-listitem" onClick="@command('handleClickEvent', currentItem=item)" >
<listcell label="@load(item.folderNameCell)" zclass="inbox-widget-namecell"/>
<listcell label="@load(item.senderEmailCell)" zclass="inbox-widget-emailcell"/>
<listcell label="@load(item.modificationDateCell)" zclass="inbox-widget-datecell"/>
</listitem>
</template>
</listbox>
</div>
I have already tried:
- inline-block instead of block
- max-width instead of width
- pixels instead of percent
Any suggestions ? Thank you.