style tweaks (mainly for mobile)
This commit is contained in:
1 parent
b396728db8
commit
07437e7950
13 files changed
+216
-80
No files matched your search
@@ -31,8 +31,18 @@
|
||||
</div>
|
||||
<!-- Modal -->
|
||||
@if (showModal) {
|
||||
<div class="modal-backdrop" (click)="closeModal()">
|
||||
<div class="modal-content" (click)="$event.stopPropagation()">
|
||||
<div
|
||||
class="modal-backdrop"
|
||||
animate.enter="fade-in"
|
||||
animate.leave="fade-out"
|
||||
(click)="closeModal()"
|
||||
>
|
||||
<div
|
||||
class="modal-content"
|
||||
animate.enter="modal-enter"
|
||||
animate.leave="modal-leave"
|
||||
(click)="$event.stopPropagation()"
|
||||
>
|
||||
<img [src]="selectedItem?.src" [alt]="selectedItem?.alt">
|
||||
<h2>{{ selectedItem?.label }}</h2>
|
||||
<button (click)="closeModal()">Close</button>
|
||||
|
||||
Reference in new issue
Block a user