Browse Source

fix: width layout (#3234)

pull/3244/head
Brandon Maharaj 3 years ago committed by GitHub
parent
commit
4398467368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      apps/web/src/app/modules/vault-filter/components/organization-filter.component.html
  2. 4
      apps/web/src/scss/vault-filters.scss

8
apps/web/src/app/modules/vault-filter/components/organization-filter.component.html

@ -126,11 +126,15 @@ @@ -126,11 +126,15 @@
[ngClass]="{ active: organization.id === activeFilter.selectedOrganizationId }"
>
<span class="filter-buttons">
<button class="filter-button" (click)="applyOrganizationFilter(organization)">
<button
class="filter-button"
[ngClass]="{ 'disabled-organization': !organization.enabled }"
(click)="applyOrganizationFilter(organization)"
>
<i class="bwi bwi-fw bwi-business" aria-hidden="true"></i>
{{ organization.name }}
</button>
<span class="ml-auto contents">
<span class="ml-auto">
<i
*ngIf="!organization.enabled"
class="org-options bwi bwi-fw bwi-exclamation-triangle text-danger"

4
apps/web/src/scss/vault-filters.scss

@ -113,6 +113,10 @@ @@ -113,6 +113,10 @@
text-decoration: none;
}
max-width: 90%;
&.disabled-organization {
max-width: 78%;
}
}
.edit-button {

Loading…
Cancel
Save