MME-17 Spacing between ingredients table and add ingredient button.
This commit is contained in:
parent
64b3cf92f7
commit
e05ebf5b62
@ -21,6 +21,12 @@ textarea {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ingredients-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
row-gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.mat-column-reorder {
|
.mat-column-reorder {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@ -24,6 +24,7 @@
|
|||||||
<input matInput [formControl]="recipeFormGroup.controls.slug" />
|
<input matInput [formControl]="recipeFormGroup.controls.slug" />
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
|
<div class="ingredients-container">
|
||||||
<h3>Ingredients</h3>
|
<h3>Ingredients</h3>
|
||||||
|
|
||||||
<table
|
<table
|
||||||
@ -82,7 +83,9 @@
|
|||||||
[cdkDragData]="row"
|
[cdkDragData]="row"
|
||||||
></tr>
|
></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<button matButton="outlined" (click)="addIngredient()" type="button">Add Ingredient</button>
|
<button matButton="outlined" (click)="addIngredient()" type="button">Add Ingredient</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3>Images</h3>
|
<h3>Images</h3>
|
||||||
<button matButton="outlined" (click)="openImageUploadDialog()" type="button">Upload Image</button>
|
<button matButton="outlined" (click)="openImageUploadDialog()" type="button">Upload Image</button>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user