diff --git a/src/lib/theme/default.ts b/src/lib/theme/default.ts index 875971429..c78f7cb0b 100644 --- a/src/lib/theme/default.ts +++ b/src/lib/theme/default.ts @@ -491,12 +491,12 @@ const theme: FlowbiteTheme = { }, listGroup: { root: { - base: 'list-none rounded-lg border border-gray-200 bg-white text-sm font-medium text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white', + base: 'list-none rounded-lg border border-gray-200 bg-white text-sm font-medium text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white text-left', }, item: { - base: 'flex w-full cursor-pointer border-b border-gray-200 py-2 px-4 first:rounded-t-lg last:rounded-b-lg last:border-b-0 dark:border-gray-600', + base: '[&>*]:first:rounded-t-lg [&>*]:last:rounded-b-lg [&>*]:last:border-b-0', link: { - base: '', + base: 'flex w-full border-b border-gray-200 py-2 px-4 dark:border-gray-600', active: { off: 'hover:bg-gray-100 hover:text-blue-700 focus:text-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:text-white dark:focus:ring-gray-500', on: 'bg-blue-700 text-white dark:bg-gray-800',