dev: hotfix, combobox test-size
This commit is contained in:
@@ -69,7 +69,7 @@ function onSelect(item: Item) {
|
|||||||
:aria-describedby="`${props.id}-search`"
|
:aria-describedby="`${props.id}-search`"
|
||||||
:class="
|
:class="
|
||||||
cn(
|
cn(
|
||||||
'w-full justify-between border text-sm font-normal rounded-md px-3 py-2 focus:outline-none focus:ring-1 focus:ring-black dark:focus:ring-white',
|
'w-full justify-between border md:text-xs 2xl:text-sm font-normal rounded-md px-3 py-2 focus:outline-none focus:ring-1 focus:ring-black dark:focus:ring-white',
|
||||||
{
|
{
|
||||||
'cursor-not-allowed bg-gray-100 opacity-50 border-gray-300 text-gray-500': props.isDisabled,
|
'cursor-not-allowed bg-gray-100 opacity-50 border-gray-300 text-gray-500': props.isDisabled,
|
||||||
'bg-white text-black dark:bg-gray-800 dark:text-white dark:border-gray-600 border-gray-400 hover:bg-gray-50 dark:hover:bg-gray-700': !props.isDisabled,
|
'bg-white text-black dark:bg-gray-800 dark:text-white dark:border-gray-600 border-gray-400 hover:bg-gray-50 dark:hover:bg-gray-700': !props.isDisabled,
|
||||||
@@ -112,7 +112,7 @@ function onSelect(item: Item) {
|
|||||||
:value="item.searchValue"
|
:value="item.searchValue"
|
||||||
:class="
|
:class="
|
||||||
cn(
|
cn(
|
||||||
'flex w-full cursor-pointer items-center justify-between rounded-sm px-2 py-1.5 text-sm',
|
'flex w-full cursor-pointer items-center justify-between rounded-sm px-2 py-1.5 md:text-xs xl:text-sm',
|
||||||
'focus:outline-none text-black dark:text-white',
|
'focus:outline-none text-black dark:text-white',
|
||||||
'hover:bg-primary hover:text-white focus:bg-primary focus:text-white',
|
'hover:bg-primary hover:text-white focus:bg-primary focus:text-white',
|
||||||
'data-[highlighted]:bg-primary data-[highlighted]:text-white',
|
'data-[highlighted]:bg-primary data-[highlighted]:text-white',
|
||||||
|
|||||||
Reference in New Issue
Block a user