mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
[CL-553] Migrate CL to Control Flow syntax (#12390)
This commit is contained in:
@@ -7,13 +7,12 @@
|
||||
attr.aria-valuenow="{{ barWidth }}"
|
||||
[ngStyle]="{ width: barWidth + '%' }"
|
||||
>
|
||||
<div
|
||||
*ngIf="displayText"
|
||||
class="tw-flex tw-h-full tw-flex-wrap tw-items-center tw-overflow-hidden"
|
||||
>
|
||||
<!-- If text is too long to fit, wrap it below to hide -->
|
||||
<div class="tw-h-full"> </div>
|
||||
<div class="tw-pr-1">{{ textContent }}</div>
|
||||
</div>
|
||||
@if (displayText) {
|
||||
<div class="tw-flex tw-h-full tw-flex-wrap tw-items-center tw-overflow-hidden">
|
||||
<!-- If text is too long to fit, wrap it below to hide -->
|
||||
<div class="tw-h-full"> </div>
|
||||
<div class="tw-pr-1">{{ textContent }}</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user