Merge pull request #6533 from aignatov-bio/ai-sci-9588-add-paste-image

Fix image ratio
This commit is contained in:
Martin Artnik 2023-10-26 13:26:29 +02:00 committed by GitHub
commit 590648b4b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,9 @@
</div>
<div class="modal-body">
<label class="sci-label">{{i18n.t('assets.from_clipboard.image_preview')}}</label>
<canvas class="w-full max-h-80 rounded border border-solid border-sn-light-grey" ref="preview" />
<div class="flex justify-center w-full">
<canvas class="max-h-80 max-w-lg rounded border border-solid border-sn-light-grey" ref="preview" />
</div>
<div class="w-full py-6">
<label class="sci-label">{{i18n.t('assets.from_clipboard.select_target')}}</label>
<SelectSearch