From fe63a9502c3aa6355c1fa0e5564993ad3f61f7cd Mon Sep 17 00:00:00 2001 From: WK Wong Date: Fri, 18 Oct 2024 13:04:28 +0800 Subject: [PATCH] chore(docs): update table bottomContent code --- .../content/components/table/custom-styles.ts | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/docs/content/components/table/custom-styles.ts b/apps/docs/content/components/table/custom-styles.ts index 7e53d1ef39..9e31e40fea 100644 --- a/apps/docs/content/components/table/custom-styles.ts +++ b/apps/docs/content/components/table/custom-styles.ts @@ -611,13 +611,13 @@ export default function App() { td: [ // changing the rows border radius // first - "group-data-[first=true]:first:before:rounded-none", - "group-data-[first=true]:last:before:rounded-none", + "group-data-[first=true]/tr:first:before:rounded-none", + "group-data-[first=true]/tr:last:before:rounded-none", // middle - "group-data-[middle=true]:before:rounded-none", + "group-data-[middle=true]/tr:before:rounded-none", // last - "group-data-[last=true]:first:before:rounded-none", - "group-data-[last=true]:last:before:rounded-none", + "group-data-[last=true]/tr:first:before:rounded-none", + "group-data-[last=true]/tr:last:before:rounded-none", ], }), [], @@ -966,13 +966,13 @@ export default function App() { td: [ // changing the rows border radius // first - "group-data-[first=true]:first:before:rounded-none", - "group-data-[first=true]:last:before:rounded-none", + "group-data-[first=true]/tr:first:before:rounded-none", + "group-data-[first=true]/tr:last:before:rounded-none", // middle - "group-data-[middle=true]:before:rounded-none", + "group-data-[middle=true]/tr:before:rounded-none", // last - "group-data-[last=true]:first:before:rounded-none", - "group-data-[last=true]:last:before:rounded-none", + "group-data-[last=true]/tr:first:before:rounded-none", + "group-data-[last=true]/tr:last:before:rounded-none", ], }), [],