Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Commit 09a7e6f

Browse files
System AdministratorSystem Administrator
System Administrator
authored and
System Administrator
committedSep 3, 2023
fix(app): select-menu theme
1 parent 90adfe1 commit 09a7e6f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
"pnpm lint:fix"
4545
]
4646
}
47-
}
47+
}

‎packages/nuxt-ui-vue/src/components/forms/SelectMenu/USelectMenu.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ export default defineComponent({
384384
:placeholder="searchablePlaceholder"
385385
autofocus
386386
autocomplete="off"
387-
:class="nuxtLabsTheme.USelectMenu.base.input"
387+
:class="variant.input"
388388
@change="query = $event.target.value"
389389
/>
390390
<component

‎packages/nuxt-ui-vue/src/theme/nuxtLabsTheme.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ export default {
14231423
padding: 'p-1',
14241424
ring: 'ring-1 ring-gray-200 dark:ring-gray-700',
14251425
input: 'block w-[calc(100%+0.5rem)] focus:ring-transparent text-sm px-3 py-1.5 text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-800 border-0 border-b border-gray-200 dark:border-gray-700 focus:border-inherit sticky -top-1 -mt-1 mb-1 -mx-1 z-10 placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none',
1426-
optionBase: 'cursor-default select-none relative flex items-center justify-between gap-1',
1426+
optionBase: 'cursor-pointer select-none relative flex items-center justify-between gap-1',
14271427
optionRounded: 'rounded-md',
14281428
optionPadding: 'px-2 py-1.5',
14291429
optionSize: 'text-sm',

0 commit comments

Comments
 (0)