Compare commits

...

2 commits

Author SHA1 Message Date
Ruben van de Ven
b448d0ddcd Merge branch 'master' of git.rubenvandeven.com:r/guest_worker 2020-01-22 16:18:29 +01:00
Ruben van de Ven
534d471e6d Fix worker specs 2020-01-22 16:18:09 +01:00
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"> <div class='state' v-if="hit.assignment.submit_page_at">
<h2>worker input</h2> <h2>worker input</h2>
<div class="svgcrop" style="height: 110px; overflow: hidden"> <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>
<div class='columns'> <div class='columns'>
@ -105,11 +105,11 @@
</div> </div>
<div class='state' v-if="hit.scanned_at"> <div class='state scan' v-if="hit.scanned_at">
<!-- <h2>analog drawing</h2> --> <!-- <h2>analog drawing</h2> -->
<!-- <div class="statebox"> --> <!-- <div class="statebox"> -->
<img src="fake_scan.jpg"> <!-- <img src="fake_scan.jpg">-->
<!-- <img :src="hit.scan_image"> --> <img :src="hit.scan_image">
<!-- </div> --> <!-- </div> -->
</div> </div>

View file

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