Skip to content

Commit

Permalink
Fix allocation list icon alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianjoel committed Jul 10, 2024
1 parent 1771a9d commit 4867fad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<input formControlName="entry" matInput />
<mat-error>{{ 'You have to fill this field.' | translate }}</mat-error>
</mat-form-field>
<mat-icon [class.grey-out]="disabled">arrow_forward</mat-icon>
<mat-icon class="sep-line" [class.grey-out]="disabled">arrow_forward</mat-icon>
<mat-form-field>
<mat-label>{{ allocationLabel | translate }}</mat-label>
<input *ngIf="config && isNumberAllocation" formControlName="allocation" type="number" matInput />
Expand All @@ -19,6 +19,7 @@
</mat-form-field>
<button
mat-icon-button
class="delete-button"
type="button"
(click)="onRemoveAllocation(i)"
matTooltip="{{ 'Cancel' | translate }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
display: flex;
align-items: center;

mat-icon {
.delete-button {
margin-left: 4px;
}

.sep-line {
margin: 0 8px;

&.grey-out {
Expand Down

0 comments on commit 4867fad

Please sign in to comment.