I have a situation where I used direction:rtl;
to display text in reverse order. However, I am facing an issue with truncating extra text on the right side only, not on the left.
.file-upload-status {
border: 1px solid #ccc;
white-space: nowrap;
overflow: hidden;
direction: rtl;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
<div class="file-upload-status" style="width:200px">
<span>*</span>
<span></span> C:\fakepath\996571_1398802860346752_2094565473_n.jpg</span>
</div>
I am seeking assistance to resolve this issue. Can anyone provide some guidance?