Fix worker specs

This commit is contained in:
Ruben van de Ven 2020-01-22 16:18:09 +01:00
parent 795a4c59ec
commit 534d471e6d
2 changed files with 8 additions and 4 deletions

View file

@ -81,7 +81,7 @@
<div class='state' v-if="hit.assignment.submit_page_at">
<h2>worker input</h2>
<div class="svgcrop" style="height: 110px; overflow: hidden">
<object :data="hit.svg_image" style="margin-top: -60px" type="image/svg+xml"></object>
<img :src="hit.svg_image" style="margin-top: -60px">
</div>
<div class='columns'>
@ -105,11 +105,11 @@
</div>
<div class='state' v-if="hit.scanned_at">
<div class='state scan' v-if="hit.scanned_at">
<!-- <h2>analog drawing</h2> -->
<!-- <div class="statebox"> -->
<img src="fake_scan.jpg">
<!-- <img :src="hit.scan_image"> -->
<!-- <img src="fake_scan.jpg">-->
<img :src="hit.scan_image">
<!-- </div> -->
</div>

View file

@ -203,3 +203,7 @@ html, body{
.columns .column{
flex-grow: 1;
}
.scan img{
vertical-align:bottom;
}