From 0665be73f3b5df4ef4abbe59d5e40585b12fa338 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub <guillaume.ayoub@kozea.fr> Date: Wed, 13 Nov 2019 22:21:40 +0100 Subject: [PATCH] Fix Creator button height Fix #274. --- js/src/components/Account/ParticipantCard.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/js/src/components/Account/ParticipantCard.vue b/js/src/components/Account/ParticipantCard.vue index e333d41b0..59456fdba 100644 --- a/js/src/components/Account/ParticipantCard.vue +++ b/js/src/components/Account/ParticipantCard.vue @@ -32,9 +32,9 @@ </div> <footer class="card-footer"> <b-button v-if="[ParticipantRole.NOT_APPROVED, ParticipantRole.REJECTED].includes(participant.role)" @click="accept(participant)" type="is-success" class="card-footer-item">{{ $t('Approve') }}</b-button> - <b-button v-if="participant.role === ParticipantRole.NOT_APPROVED" @click="reject(participant)" type="is-danger" class="card-footer-item">{{ $t('Reject')}} </b-button> - <b-button v-if="participant.role === ParticipantRole.PARTICIPANT" @click="exclude(participant)" type="is-danger" class="card-footer-item">{{ $t('Exclude')}} </b-button> - <span v-if="participant.role === ParticipantRole.CREATOR" class="card-footer-item">{{ $t('Creator')}} </span> + <b-button v-if="participant.role === ParticipantRole.NOT_APPROVED" @click="reject(participant)" type="is-danger" class="card-footer-item">{{ $t('Reject')}}</b-button> + <b-button v-if="participant.role === ParticipantRole.PARTICIPANT" @click="exclude(participant)" type="is-danger" class="card-footer-item">{{ $t('Exclude')}}</b-button> + <span v-if="participant.role === ParticipantRole.CREATOR" class="card-footer-item">{{ $t('Creator')}}</span> </footer> </article> </template> @@ -62,4 +62,8 @@ export default class ParticipantCard extends Vue { </script> <style lang="scss"> + @import "../../variables.scss"; + .card-footer-item { + height: $control-height; + } </style>