refactor: switch image place from top to bottom

This commit is contained in:
2026-02-18 22:53:10 -03:00
parent 105514423f
commit 0e8fe172b5
2 changed files with 6 additions and 5 deletions

View File

@@ -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>
}