1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[CL-280] truncate overflow text in bit-item (#8992)

This commit is contained in:
Will Martin
2024-05-06 10:29:23 -04:00
committed by GitHub
parent 4877f08ef7
commit 76cc0f43aa
3 changed files with 14 additions and 6 deletions

View File

@@ -1,11 +1,11 @@
<div class="tw-flex tw-gap-2 tw-items-center">
<div class="tw-flex tw-gap-2 tw-items-center tw-w-full">
<ng-content select="[slot=start]"></ng-content>
<div class="tw-flex tw-flex-col tw-items-start tw-text-start tw-w-full [&_p]:tw-mb-0">
<div class="tw-text-main tw-text-base">
<div class="tw-text-main tw-text-base tw-w-full tw-truncate">
<ng-content></ng-content>
</div>
<div class="tw-text-muted tw-text-sm">
<div class="tw-text-muted tw-text-sm tw-w-full tw-truncate">
<ng-content select="[slot=secondary]"></ng-content>
</div>
</div>