Skip to content

Commit

Permalink
fix(admin-ui): Fix CustomerGroupList layout in Firefox
Browse files Browse the repository at this point in the history
Closes #531
michaelbromley committed Nov 3, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 11a1004 commit c432a14
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
</vdr-ab-right>
</vdr-action-bar>
<div class="group-wrapper">
<table class="table group-list" *ngIf="!(listIsEmpty$ | async); else emptyPlaceholder">
<table class="table group-list" [class.expanded]="activeGroup$ | async" *ngIf="!(listIsEmpty$ | async); else emptyPlaceholder">
<tbody>
<tr *ngFor="let group of groups$ | async" [class.active]="group.id === (activeGroup$ | async)?.id">
<td class="left align-middle"><vdr-entity-info [entity]="group"></vdr-entity-info></td>
Original file line number Diff line number Diff line change
@@ -12,6 +12,10 @@
tr.active {
background-color: $color-grey-200;
}
&.expanded {
// Fix for Firefox layout https://github.com/vendure-ecommerce/vendure/issues/531
width: calc(100% - 40vw);
}
}
}
.group-members {

0 comments on commit c432a14

Please sign in to comment.