mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
[SG-451] [Defect] - Safari Extension Does Not Display Icon for Long Named Orgs (#3145)
* chore: added strings for disabled org messages * chore: added icon display * chore: added prevent filter check * chore: code changes for desktop * chore: browser * fix: float icon * fix: float right icon * fix: vary elipsis size
This commit is contained in:
parent
1f599b499e
commit
515ca3f0fe
@ -58,7 +58,7 @@
|
|||||||
class="bwi bwi-fw bwi-family"
|
class="bwi bwi-fw bwi-family"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
></i>
|
></i>
|
||||||
<span> {{ organization.name | ellipsis: 21:true }}</span>
|
<span> {{ organization.name | ellipsis: (organization.enabled ? 21 : 18):true }}</span>
|
||||||
<i
|
<i
|
||||||
*ngIf="!organization.enabled"
|
*ngIf="!organization.enabled"
|
||||||
class="bwi bwi-fw bwi-exclamation-triangle text-danger"
|
class="bwi bwi-fw bwi-exclamation-triangle text-danger"
|
||||||
|
@ -92,13 +92,15 @@
|
|||||||
>
|
>
|
||||||
<i class="bwi bwi-fw bwi-business" aria-hidden="true"></i>
|
<i class="bwi bwi-fw bwi-business" aria-hidden="true"></i>
|
||||||
{{ organization.name }}
|
{{ organization.name }}
|
||||||
|
</button>
|
||||||
|
<span class="ml-auto">
|
||||||
<i
|
<i
|
||||||
*ngIf="!organization.enabled"
|
*ngIf="!organization.enabled"
|
||||||
class="bwi bwi-fw bwi-exclamation-triangle text-danger"
|
class="bwi bwi-fw bwi-exclamation-triangle text-danger mr-auto"
|
||||||
aria-label="{{ 'organizationIsDisabled' | i18n }}"
|
aria-label="{{ 'organizationIsDisabled' | i18n }}"
|
||||||
appA11yTitle="{{ 'organizationIsDisabled' | i18n }}"
|
appA11yTitle="{{ 'organizationIsDisabled' | i18n }}"
|
||||||
></i>
|
></i>
|
||||||
</button>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -136,3 +136,9 @@ div:not(.modal)::-webkit-scrollbar-thumb,
|
|||||||
.cdk-virtual-scroll-content-wrapper {
|
.cdk-virtual-scroll-content-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//taken from bootstrap for replicating functionality
|
||||||
|
.ml-auto,
|
||||||
|
.mx-auto {
|
||||||
|
margin-left: auto !important;
|
||||||
|
}
|
||||||
|
@ -129,21 +129,21 @@
|
|||||||
<button class="filter-button" (click)="applyOrganizationFilter(organization)">
|
<button class="filter-button" (click)="applyOrganizationFilter(organization)">
|
||||||
<i class="bwi bwi-fw bwi-business" aria-hidden="true"></i>
|
<i class="bwi bwi-fw bwi-business" aria-hidden="true"></i>
|
||||||
{{ organization.name }}
|
{{ organization.name }}
|
||||||
|
</button>
|
||||||
|
<span class="ml-auto">
|
||||||
<i
|
<i
|
||||||
*ngIf="!organization.enabled"
|
*ngIf="!organization.enabled"
|
||||||
class="bwi bwi-fw bwi-exclamation-triangle text-danger"
|
class="org-options bwi bwi-fw bwi-exclamation-triangle text-danger"
|
||||||
aria-label="{{ 'organizationIsDisabled' | i18n }}"
|
aria-label="{{ 'organizationIsDisabled' | i18n }}"
|
||||||
appA11yTitle="{{ 'organizationIsDisabled' | i18n }}"
|
appA11yTitle="{{ 'organizationIsDisabled' | i18n }}"
|
||||||
></i>
|
></i
|
||||||
</button>
|
><button [bitMenuTriggerFor]="orgMenu" class="org-options">
|
||||||
<ng-container>
|
|
||||||
<button [bitMenuTriggerFor]="orgMenu" class="org-options ml-auto">
|
|
||||||
<i class="bwi bwi-ellipsis-v" aria-hidden="true"></i>
|
<i class="bwi bwi-ellipsis-v" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<bit-menu class="filter-organization-options" #orgMenu>
|
<bit-menu class="filter-organization-options" #orgMenu>
|
||||||
<app-organization-options [organization]="organization"></app-organization-options>
|
<app-organization-options [organization]="organization"></app-organization-options>
|
||||||
</bit-menu>
|
</bit-menu>
|
||||||
</ng-container>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="filter-option" *ngIf="!(displayMode === 'singleOrganizationPolicy')">
|
<li class="filter-option" *ngIf="!(displayMode === 'singleOrganizationPolicy')">
|
||||||
|
@ -126,6 +126,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.org-options {
|
||||||
|
padding: 0 2px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.groupings {
|
.groupings {
|
||||||
|
Loading…
Reference in New Issue
Block a user