From 136495e64958660742f98aedcd352afa899d7939 Mon Sep 17 00:00:00 2001 From: melloware Date: Mon, 11 Dec 2023 07:42:12 -0500 Subject: [PATCH] Fix #5568: MultiSelect filterInput PT --- .../doc/multiselect/theming/tailwinddoc.js | 16 +++++++++------- components/lib/passthrough/tailwind/index.js | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/components/doc/multiselect/theming/tailwinddoc.js b/components/doc/multiselect/theming/tailwinddoc.js index d9fb1d78aa..a9e2832c3f 100644 --- a/components/doc/multiselect/theming/tailwinddoc.js +++ b/components/doc/multiselect/theming/tailwinddoc.js @@ -102,13 +102,15 @@ const Tailwind = { }, filterContainer: 'relative', filterInput: { - className: classNames( - 'pr-7 -mr-7', - 'w-full', - 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', - 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', - 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]' - ) + root: { + className: classNames( + 'pr-7 -mr-7', + 'w-full', + 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', + 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', + 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]' + ) + } }, filterIcon: '-mt-2 absolute top-1/2', clearIcon: 'text-gray-500 right-12 -mt-2 absolute top-1/2', diff --git a/components/lib/passthrough/tailwind/index.js b/components/lib/passthrough/tailwind/index.js index 5dc053482f..8f352a2302 100644 --- a/components/lib/passthrough/tailwind/index.js +++ b/components/lib/passthrough/tailwind/index.js @@ -1372,13 +1372,15 @@ const Tailwind = { }, filterContainer: 'relative', filterInput: { - className: classNames( - 'pr-7 -mr-7', - 'w-full', - 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', - 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', - 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]' - ) + root: { + className: classNames( + 'pr-7 -mr-7', + 'w-full', + 'font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none', + 'dark:bg-gray-900 dark:border-blue-900/40 dark:hover:border-blue-300 dark:text-white/80', + 'hover:border-blue-500 focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]' + ) + } }, filterIcon: '-mt-2 absolute top-1/2', clearIcon: 'text-gray-500 right-12 -mt-2 absolute top-1/2',