Skip to content

Commit

Permalink
fix: align table heading with associated content in quickorder form (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Carola Bratsch authored Aug 23, 2021
1 parent e2d7639 commit 64c0e1d
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 @@ -6,11 +6,11 @@
>
<formly-field class="col-6" [field]="field"></formly-field>
<ish-quickorder-repeat-form-quantity
class="col-3 col-sm-2 py-2"
class="col-3 col-sm-2 quickorder-line-item"
[model]="model[i]"
[skuControl]="field.formControl"
></ish-quickorder-repeat-form-quantity>
<div class="col-3 col-sm-2 d-flex pt-2">
<div class="col-3 col-sm-2 d-flex quickorder-line-item">
<a class="btn btn-tool" (click)="remove(i)" title="{{ 'quickorder.page.remove.row' | translate }}">
<fa-icon [icon]="['fas', 'trash-alt']"></fa-icon>
</a>
Expand Down
5 changes: 5 additions & 0 deletions src/styles/global/line-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@
display: inline-block;
margin-bottom: $space-default * 0.5;
}

.quickorder-line-item {
padding-top: $space-default * 0.5;
padding-left: 0;
}

0 comments on commit 64c0e1d

Please sign in to comment.