fix: width layout (#3234)

This commit is contained in:
Brandon Maharaj 2022-08-03 14:56:04 -04:00 committed by GitHub
parent 8cc02ff03d
commit 4398467368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -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"

View File

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