parent
1aea3fcac5
commit
d4568b631d
@ -11,9 +11,11 @@
|
||||
</span>
|
||||
|
||||
<ng-template #ltrTruncated>
|
||||
<div class="hidden">{{ text }}</div>
|
||||
<span class="first">{{text.slice(0,-lastChars)}}</span><span class="last-four">{{text.slice(-lastChars)}}</span>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #rtlTruncated>
|
||||
<div class="hidden">{{ text }}</div>
|
||||
<span class="first">{{text.slice(lastChars)}}</span><span class="last-four">{{text.slice(0,lastChars)}}</span>
|
||||
</ng-template>
|
@ -28,3 +28,8 @@
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
|
||||
.hidden {
|
||||
color: transparent;
|
||||
position: absolute;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user