Hey guys, I got an issue here. I want to hide a long string content using “…” at the end, instead of hiding it normally. Here is my code:
<ion-list class="ion-no-padding list-settings dark-background ion-margin-top">
...
...
...
<ion-item class="ion-no-padding content-margin-horizontal dark-background">
<ion-col>
<ion-label>
<h2 class="toggle-label">E-mail</h2>
</ion-label>
</ion-col>
<ion-col>
<p class="data-collaborator ellipsis">{{user?.get('username')}} </p>
</ion-col>
</ion-item>
Here is how my view look like atm. I want the “…” on the end. “Ellipsis” class has “overflow: hidden; text-overflow: ellipsis;” on it, but it doesn’t work. Any one?