Skip to content
Snippets Groups Projects
Commit 70503e88 authored by fsdavid's avatar fsdavid
Browse files

Show tooltip on region menu exploring templates

parent d5743f16
No related branches found
No related tags found
No related merge requests found
......@@ -190,9 +190,11 @@
(click)="changeView(i)"
mat-ripple>
<mat-icon fontSet="fas" fontIcon="fa-none" mat-list-icon></mat-icon>
<div mat-line>
<span class="overflow-x-hidden text-truncate"> {{ sameRegion.template.name }} </span>
<span *ngIf="sameRegion.hemisphere"> - {{ sameRegion.hemisphere }}</span>
<div class="cursorPointer" #exploreTemplateButton mat-line>
<span #exploreTemplateName class="overflow-x-hidden text-truncate"
[matTooltip]="exploreTemplateButton.offsetWidth < exploreTemplateName.offsetWidth? sameRegion.template.name + ' ' + sameRegion.hemisphere : null">
{{ sameRegion.template.name + ' ' + sameRegion.hemisphere }}
</span>
</div>
</mat-list-item>
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment