mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
TSK-768. Image viewing scale by height (#2701)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
a0f7a86315
commit
217f799bbb
@ -32,7 +32,7 @@
|
||||
export let value: Attachment
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
let imgView: 'img-horizontal-fit' | 'img-vertical-fit' | 'img-original-fit' = 'img-original-fit'
|
||||
let imgView: 'img-horizontal-fit' | 'img-vertical-fit' | 'img-original-fit' = 'img-vertical-fit'
|
||||
|
||||
function iconLabel (name: string): string {
|
||||
const parts = name.split('.')
|
||||
|
Loading…
Reference in New Issue
Block a user