[CL-174] add title to bit-nav-item (#7703)

* add title to bit-nav-item
This commit is contained in:
Will Martin 2024-01-26 11:55:00 -05:00 committed by GitHub
parent 3a92546362
commit 053053624f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@
<!-- Main content of `NavItem` -->
<ng-template #anchorAndButtonContent>
<i class="bwi bwi-fw tw-text-alt2 tw-mx-1 {{ icon }}"></i
><span [ngClass]="showActiveStyles ? 'tw-font-bold' : 'tw-font-semibold'">{{ text }}</span>
><span [title]="text" [ngClass]="showActiveStyles ? 'tw-font-bold' : 'tw-font-semibold'">{{
text
}}</span>
</ng-template>
<!-- Show if a value was passed to `this.to` -->