Update PollCard component, add showBorder prop

This commit is contained in:
Daniel Supernault 2021-12-14 22:18:01 -07:00
parent 01ca1edd84
commit 0c8fffbd73
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template>
<div>
<div class="card shadow-none border rounded-0" :class="{'border-top-0': !showBorderTop}">
<div class="card shadow-none rounded-0" :class="{ border: showBorder, 'border-top-0': !showBorderTop}">
<div class="card-body">
<div class="media">
<img class="rounded-circle box-shadow mr-2" :src="status.account.avatar" width="32px" height="32px" alt="avatar">
@ -149,6 +149,11 @@
type: Object
},
showBorder: {
type: Boolean,
default: true
},
showBorderTop: {
type: Boolean,
default: false