Skip to content

Commit a20ae46

Browse files
author
Jason Tame
committed
Add card content component
1 parent de03a3b commit a20ae46

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<div v-html="content" class="htmlCard__content"></div>
3+
</template>
4+
5+
<script>
6+
export default {
7+
props: ['content'],
8+
};
9+
</script>
10+
11+
<style lang="scss">
12+
.htmlCard__content {
13+
p:not(:last-child) {
14+
margin-bottom: 1em;
15+
}
16+
}
17+
</style>

0 commit comments

Comments
 (0)