CSS, comparison

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-08-29 14:36:00 +02:00
parent d08bd23578
commit 1d8b4cd33d
2 changed files with 10 additions and 9 deletions

View File

@@ -100,7 +100,8 @@ export default {
}
},
currentCard() {
return this.$route.params.cardId === this.id
console.log(this.$route.params)
return this.$route.params.cardId == this.id
}
},
methods: {
@@ -151,10 +152,6 @@ export default {
opacity: 0;
}
.current-card {
box-shadow: 0 0 3px 0 grey !important;
}
.card {
box-shadow: 0 0 3px 0 var(--color-box-shadow);
border-radius: 3px;
@@ -209,6 +206,10 @@ export default {
height: 44px;
}
}
&.current-card {
box-shadow: 0 0 6px 0 var(--color-box-shadow);
}
}
.compact {