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

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