fix: normalize component boundary spacing
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
component TestimonialCard {
|
||||
props {
|
||||
class = ""
|
||||
quote = "Great product."
|
||||
name = "Customer"
|
||||
role = ""
|
||||
@@ -7,6 +8,6 @@ component TestimonialCard {
|
||||
avatar = ""
|
||||
}
|
||||
view {
|
||||
<figure class="rounded-3xl border border-slate-200 bg-white p-7 shadow-sm dark:border-slate-800 dark:bg-slate-900"><blockquote class="text-lg leading-8 text-slate-700 dark:text-slate-200">“{quote}”</blockquote><figcaption class="mt-6 flex items-center gap-3"><Avatar src="{avatar}" initials="{name.slice(0,2)}" /><div><div class="font-semibold">{name}</div><div class="text-sm text-slate-500">{role}<span data-show="company"> · {company}</span></div></div></figcaption></figure>
|
||||
<figure class="rounded-3xl border border-slate-200 bg-white p-7 shadow-sm dark:border-slate-800 dark:bg-slate-900 {class}"><blockquote class="text-lg leading-8 text-slate-700 dark:text-slate-200">“{quote}”</blockquote><figcaption class="mt-6 flex items-center gap-3"><Avatar src="{avatar}" initials="{name.slice(0,2)}" /><div><div class="font-semibold">{name}</div><div class="text-sm text-slate-500">{role}<span data-show="company"> · {company}</span></div></div></figcaption></figure>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user