Rescaling stitch preview to avoid scrolling in y
This commit is contained in:
parent
a61ffbf75a
commit
6aa712e515
2 changed files with 9 additions and 2 deletions
|
|
@ -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%;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue