Rescaling stitch preview to avoid scrolling in y

This commit is contained in:
Joe Knapper 2024-02-09 16:08:21 +00:00
parent a61ffbf75a
commit 6aa712e515
2 changed files with 9 additions and 2 deletions

View file

@ -429,6 +429,13 @@ html {
padding: 0;
}
.image-fit{
height: 80%;
width: 100%;
object-fit: contain;
overflow-y: clip;
}
.section-content {
padding: 0;
height: 100%;

View file

@ -108,8 +108,8 @@
Scan ID: {{ scan_name }}
</h3>
</div>
<div class="view-component uk-width-expand">
<img v-if="displayImageOnRight" :src="lastStitchedImage" id="last-stitched-image"/>
<div class="view-image uk-width-expand uk-height-1-1">
<img v-if="displayImageOnRight" class=image-fit :src="lastStitchedImage" id="last-stitched-image">
<streamDisplay v-else />
</div>
</div>