fix: normalize component boundary spacing
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
component Table {
|
||||
props {
|
||||
class = ""
|
||||
caption = "Data table"
|
||||
responsive = true
|
||||
}
|
||||
view {
|
||||
<div class="w-full overflow-x-auto rounded-2xl border border-slate-200 dark:border-slate-800"><table class="w-full min-w-[640px] border-collapse text-left text-sm"><caption class="sr-only">{caption}</caption><slot /></table></div>
|
||||
<div class="w-full overflow-x-auto rounded-2xl border border-slate-200 dark:border-slate-800 {class}"><table class="w-full min-w-[640px] border-collapse text-left text-sm"><caption class="sr-only">{caption}</caption><slot /></table></div>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user