Added file uploading + drag'n'drop

This commit is contained in:
2026-04-09 17:02:13 +02:00
parent 97f7712d55
commit 7d9737e9c2
9 changed files with 53 additions and 32 deletions

View File

@@ -12,11 +12,13 @@
</div>
<div class="bubble">
<span class="message-text">{{message.message}}</span>
@for (file of message.files; track file) {
@if (file.type == "image") {
<img [src]="file.path"/>
<masonry style="max-height: 300px">
@for (file of message.files; track file) {
@if (file.type == "image") {
<img [src]="file.path" style="width: 100%; height: 100%; max-height: 300px; object-fit: cover; border-radius: 25px"/>
}
}
}
</masonry>
</div>
<div class="below"></div>
</div>