fix lint, fix test

This commit is contained in:
ogerly 2019-12-11 10:33:10 +01:00
parent e737a3cd82
commit 46db785550
2 changed files with 3 additions and 37 deletions

View File

@ -7,15 +7,6 @@
@submit="submit"
>
<template slot-scope="{ errors }">
<ds-text v-show="blurImage" class="blur-box" align="right" >
<div
v-if="contribution && contribution.blurImage"
@click.stop.prevent="blurImage = !blurImage"
>
<img :src="contribution.image | proxyApiUrl" class="blur-img-preview"/>
<ds-button class="bluricon-post" icon="ban" primary></ds-button>
</div>
</ds-text>
<hc-teaser-image
:contribution="contribution"
@addTeaserImage="addTeaserImage"
@ -28,7 +19,7 @@
:src="contribution.image | proxyApiUrl"
/>
</hc-teaser-image>
<div style="clear: both" />
<ds-card>
<ds-text align="right">
@ -41,7 +32,7 @@
v-model="blurImage"
@change="form.checkbox = blurImage"
/>
<div>
<a href="https://faq.human-connection.org/" target="_blank">
<small>
@ -321,8 +312,7 @@ export default {
</script>
<style lang="scss">
.images-set-blur.ds-card-image img{
.images-set-blur.ds-card-image img {
-webkit-filter: blur(32px);
-moz-filter: blur(32px);
-ms-filter: blur(32px);
@ -334,25 +324,6 @@ export default {
-o-transition: all ease 0.2s;
transition: all ease 0.2s;
}
.blur-box {
position: absolute;
/* top: -70px; */
/* float: right; */
z-index: 1000;
padding: 20px;
}
.blur-img-preview {
width: 100px;
}
.bluricon-post {
font-size: xx-large;
/* padding: 13px; */
/* position: absolute; */
background-color: green;
/* top: 131px; */
}
</style>
<style lang="scss" scoped>

View File

@ -235,7 +235,6 @@ export default {
}
</script>
<style lang="scss">
.images-set-blur .ds-card-image {
-webkit-filter: blur(22px);
-moz-filter: blur(22px);
@ -248,7 +247,6 @@ export default {
-o-transition: all ease 0.2s;
transition: all ease 0.2s;
}
.blurBox {
text-align: right;
@ -262,10 +260,7 @@ export default {
.bluricon-post {
font-size: xx-large;
/* padding: 13px; */
/* position: absolute; */
background-color: green;
/* top: 131px; */
}
.page-name-post-id-slug {