Merge pull request #2956 from mempool/mononaut/fix-missing-clipboard

Fix missing clipboard buttons
This commit is contained in:
softsimon 2023-01-17 02:59:19 +04:00 committed by GitHub
commit 92b0b23765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View File

@ -25,7 +25,6 @@
align-items: baseline;
width: 0;
max-width: 100%;
overflow: hidden;
margin-right: 0px;
margin-bottom: 0px;
margin-top: 8px;

View File

@ -1,12 +1,9 @@
<span class="truncate" [style.max-width]="maxWidth ? maxWidth + 'px' : null">
<ng-container *ngIf="!rtl">
<span class="first">{{text.slice(0,-lastChars)}}</span>
<span class="last-four">{{text.slice(-lastChars)}}</span>
<ng-content></ng-content>
<span class="first">{{text.slice(0,-lastChars)}}</span><span class="last-four">{{text.slice(-lastChars)}}</span>
</ng-container>
<ng-container *ngIf="rtl">
<span class="first">{{text.slice(lastChars)}}</span>
<span class="last-four">{{text.slice(0,lastChars)}}</span>
<ng-content></ng-content>
<span class="first">{{text.slice(lastChars)}}</span><span class="last-four">{{text.slice(0,lastChars)}}</span>
</ng-container>
<ng-content></ng-content>
</span>