Added file uploading + drag'n'drop
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user