fix: normalize component boundary spacing
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
component Timeline {
|
||||
props {
|
||||
class = ""
|
||||
title = "Timeline"
|
||||
}
|
||||
view {
|
||||
<section><h2 class="text-lg font-bold">{title}</h2><ol class="mt-5 border-l border-slate-200 pl-6 dark:border-slate-800"><slot /></ol></section>
|
||||
<section class="{class}"><h2 class="text-lg font-bold">{title}</h2><ol class="mt-5 border-l border-slate-200 pl-6 dark:border-slate-800"><slot /></ol></section>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user