diff --git a/playground/pages/card.vue b/playground/pages/card.vue index 95bc1ac5..bded7dc7 100644 --- a/playground/pages/card.vue +++ b/playground/pages/card.vue @@ -1,13 +1,19 @@ diff --git a/src/theme/card.ts b/src/theme/card.ts index 2f3f4f66..4fdf9608 100644 --- a/src/theme/card.ts +++ b/src/theme/card.ts @@ -1,6 +1,6 @@ export default { slots: { - root: 'bg-white dark:bg-gray-900 ring ring-gray-200 dark:ring-gray-800 rounded-lg shadow', + root: 'bg-white dark:bg-gray-900 ring ring-gray-200 dark:ring-gray-800 divide-y divide-gray-200 dark:divide-gray-800 rounded-lg shadow', header: 'p-4 sm:px-6', body: 'p-4 sm:p-6', footer: 'p-4 sm:px-6' diff --git a/test/components/__snapshots__/Card.spec.ts.snap b/test/components/__snapshots__/Card.spec.ts.snap index 22007ff6..2ed819ad 100644 --- a/test/components/__snapshots__/Card.spec.ts.snap +++ b/test/components/__snapshots__/Card.spec.ts.snap @@ -1,7 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Card > renders basic case correctly 1`] = ` -"
+"
@@ -9,7 +9,7 @@ exports[`Card > renders basic case correctly 1`] = ` `; exports[`Card > renders with as correctly 1`] = ` -"
+"
@@ -17,7 +17,7 @@ exports[`Card > renders with as correctly 1`] = ` `; exports[`Card > renders with class correctly 1`] = ` -"
+"
@@ -25,7 +25,7 @@ exports[`Card > renders with class correctly 1`] = ` `; exports[`Card > renders with default slot correctly 1`] = ` -"
+"
Default slot
@@ -33,7 +33,7 @@ exports[`Card > renders with default slot correctly 1`] = ` `; exports[`Card > renders with footer slot correctly 1`] = ` -"
+"
Footer slot
@@ -41,7 +41,7 @@ exports[`Card > renders with footer slot correctly 1`] = ` `; exports[`Card > renders with header slot correctly 1`] = ` -"
+"
Header slot