1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00

[PM-1884] Address vault ui long name overflow and vertical letter cutoff (#5345)

* address vault ui long name overflow and vertical letter cutoff

* address vertical icon placement in item row
This commit is contained in:
Jonathan Prusik 2023-05-09 19:45:35 -04:00 committed by GitHub
parent dffb8957ce
commit 6eb032b697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@
<div class="tw-inline-flex tw-w-full"> <div class="tw-inline-flex tw-w-full">
<button <button
bitLink bitLink
class="tw-overflow-hidden tw-text-ellipsis tw-text-start" class="tw-overflow-hidden tw-text-ellipsis tw-text-start tw-leading-snug"
[disabled]="disabled" [disabled]="disabled"
[routerLink]="[]" [routerLink]="[]"
[queryParams]="{ itemId: cipher.id }" [queryParams]="{ itemId: cipher.id }"
@ -31,7 +31,7 @@
</button> </button>
<ng-container *ngIf="cipher.hasAttachments"> <ng-container *ngIf="cipher.hasAttachments">
<i <i
class="bwi bwi-paperclip tw-ml-2" class="bwi bwi-paperclip tw-ml-2 tw-leading-normal"
appStopProp appStopProp
title="{{ 'attachments' | i18n }}" title="{{ 'attachments' | i18n }}"
aria-hidden="true" aria-hidden="true"
@ -39,7 +39,7 @@
<span class="sr-only">{{ "attachments" | i18n }}</span> <span class="sr-only">{{ "attachments" | i18n }}</span>
<ng-container *ngIf="showFixOldAttachments"> <ng-container *ngIf="showFixOldAttachments">
<i <i
class="bwi bwi-exclamation-triangle tw-ml-2 tw-text-warning" class="bwi bwi-exclamation-triangle tw-ml-2 tw-leading-normal tw-text-warning"
appStopProp appStopProp
title="{{ 'attachmentsNeedFix' | i18n }}" title="{{ 'attachmentsNeedFix' | i18n }}"
aria-hidden="true" aria-hidden="true"

View File

@ -19,7 +19,7 @@
bitLink bitLink
[disabled]="disabled" [disabled]="disabled"
type="button" type="button"
class="tw-w-full tw-overflow-hidden tw-text-ellipsis tw-text-start" class="tw-w-full tw-truncate tw-text-start tw-leading-snug"
linkType="secondary" linkType="secondary"
title="{{ 'viewCollectionWithName' | i18n : collection.name }}" title="{{ 'viewCollectionWithName' | i18n : collection.name }}"
[routerLink]="[]" [routerLink]="[]"