refactor: switch image place from top to bottom
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
@if (imgUrl()) {
|
||||
<div class="image-preview__container">
|
||||
<img [src]="imgUrl()" [alt]="fileName()" width="300" height="300" />
|
||||
</div>
|
||||
}
|
||||
<input
|
||||
(change)="onFileSelected($event)"
|
||||
#fileUpload
|
||||
@@ -18,3 +13,8 @@
|
||||
<mat-icon>attach_file</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
@if (imgUrl()) {
|
||||
<div class="image-preview__container">
|
||||
<img [src]="imgUrl()" [alt]="fileName()" width="300" height="300" />
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user