Why is the CSS property text-overflow: ellipsis
not working on a child div with the class name cluster-name
?
.ft-column {
flex-basis: 0;
flex-grow: 1;
padding: 4px;
text-overflow: ellipsis;
overflow: hidden;
}
.ft-column > .cluster-name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
<div class="ft-column">
<div>Cluster</div>
<div class="pull-left cluster-name">FQDN</div>
</div>