Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
fix(frontend:files): keep aspect ratio for thumbnails with large width
7185facff7fc5779
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.html b/frontend/src/app/applications/spaces/components/spaces-browser.component.htmlindex 5c72ffa7..cca71b4d 100644--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.html+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.html@@ -241,7 +241,7 @@class="card"><div [attr.rowIndex]="$index" class="card-body">@if (f.isImage) {- <img (error)="f.isImage = false" [style.height.px]="galleryMode.image" alt="" class="img-fluid"+ <img (error)="f.isImage = false" [style.max-height.px]="galleryMode.image" alt="" class="img-fluid"draggable="true" src="{{f.thumbnailUrl}}?size={{galleryMode.imageRes}}">} @else {<img [src]="f.mimeUrl" [height]="galleryMode.image" [width]="galleryMode.image" alt="" draggable="true" (error)="f.fallBackMimeUrl()">