diff --git a/src/runtime/components/CommandPalette.vue b/src/runtime/components/CommandPalette.vue index 47e6fb53..71f8584a 100644 --- a/src/runtime/components/CommandPalette.vue +++ b/src/runtime/components/CommandPalette.vue @@ -150,7 +150,7 @@ const groups = computed(() => { ) => ({ viewport: 'divide-y divide-gray-200 dark:divide-gray-800 scroll-py-1', group: 'p-1 isolate', empty: 'py-6 text-center text-sm', - label: 'p-1.5 text-xs font-semibold text-gray-900 dark:text-white', - item: ['group relative w-full flex items-center gap-1.5 p-1.5 text-sm select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-gray-700 dark:text-gray-200 data-highlighted:text-gray-900 dark:data-highlighted:text-white data-highlighted:before:bg-gray-50 dark:data-highlighted:before:bg-gray-800/50', options.transitions && 'transition-colors before:transition-colors'], + label: 'px-2 py-1.5 text-xs font-semibold text-gray-900 dark:text-white', + item: ['group relative w-full flex items-center gap-2 px-2 py-1.5 text-sm select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-gray-700 dark:text-gray-200 data-highlighted:text-gray-900 dark:data-highlighted:text-white data-highlighted:before:bg-gray-50 dark:data-highlighted:before:bg-gray-800/50', options.transitions && 'transition-colors before:transition-colors'], itemLeadingIcon: ['shrink-0 size-5 text-gray-400 dark:text-gray-500 group-data-highlighted:text-gray-700 dark:group-data-highlighted:text-gray-200', options.transitions && 'transition-colors'], itemLeadingAvatar: 'shrink-0', itemLeadingChip: 'shrink-0 mx-1.5', diff --git a/test/components/__snapshots__/CommandPalette.spec.ts.snap b/test/components/__snapshots__/CommandPalette.spec.ts.snap index dab956a5..2c2445ab 100644 --- a/test/components/__snapshots__/CommandPalette.spec.ts.snap +++ b/test/components/__snapshots__/CommandPalette.spec.ts.snap @@ -2,7 +2,7 @@ exports[`CommandPalette > renders with as correctly 1`] = ` "
-
+
@@ -11,38 +11,38 @@ exports[`CommandPalette > renders with as correctly 1`] = `