vue-component dev style more discrete, + disable flashbag for comment

This commit is contained in:
Mathieu Jaumotte 2021-05-19 14:27:26 +02:00
parent b018a50a7e
commit 30b127bc88
2 changed files with 7 additions and 3 deletions

View File

@ -45,7 +45,10 @@ export default {
div.vue-component {
padding: 1.5em;
margin: 2em 0;
border: 2px dashed grey;
border: 2px dotted lightgrey;
border-radius: 10px;
border-left: 0;
border-right: 0;
position: relative;
&:before {
content: "vuejs component";

View File

@ -2,9 +2,10 @@
<div class="vue-component">
<h3>{{ $t('comment.title') }}</h3>
<div class="error flash_message" v-if="errors.length > 0">
<!--div class="error flash_message" v-if="errors.length > 0">
{{ errors[0] }}
</div>
TODO fix errors flashbag for app component
</div-->
<div v-if="initialComment">
créé par {{ initialComment.creator.text }}