forked from mirror/pixelfed
Update PollCard component, add showBorder prop
This commit is contained in:
parent
01ca1edd84
commit
0c8fffbd73
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<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="card-body">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<img class="rounded-circle box-shadow mr-2" :src="status.account.avatar" width="32px" height="32px" alt="avatar">
|
<img class="rounded-circle box-shadow mr-2" :src="status.account.avatar" width="32px" height="32px" alt="avatar">
|
||||||
|
@ -149,6 +149,11 @@
|
||||||
type: Object
|
type: Object
|
||||||
},
|
},
|
||||||
|
|
||||||
|
showBorder: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
|
|
||||||
showBorderTop: {
|
showBorderTop: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
|
Loading…
Reference in a new issue