Skip to content

Commit 9de3bc1

Browse files
committed
#4 Fix selector
1 parent 6fd3321 commit 9de3bc1

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

dist/js/card.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/components/Card.vue

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
2-
<card class="flex flex-col justify-center" :class="cardClassList">
2+
<card class="flex flex-col justify-center htmlCard" :class="cardClassList">
33
<div class="px-3 py-3">
4-
<section v-html="card.content">
4+
<section v-html="card.content" class="htmlCard__content">
55
</section>
66
</div>
77
</card>
@@ -31,8 +31,15 @@
3131
}
3232
</script>
3333

34-
<style scoped>
35-
p {
34+
<style>
35+
.htmlCard__content > p {
3636
margin-bottom: 1em;
3737
}
3838
</style>
39+
40+
<style scoped>
41+
.card-panel {
42+
min-height: 150px;
43+
height: auto;
44+
}
45+
</style>

0 commit comments

Comments
 (0)