fix(SelectCustom): move max-height on base

This commit is contained in:
Benjamin Canac
2022-07-02 19:55:23 +02:00
parent 524f8411c5
commit db39a9cdba

View File

@@ -191,8 +191,8 @@ export default (variantColors: string[]) => {
wrapper: 'relative',
base: `${select.base} text-left cursor-default`,
list: {
container: 'z-10 w-full py-1 max-h-60',
base: 'u-bg-white shadow-lg rounded-md ring-1 u-ring-gray-200 focus:outline-none overflow-y-auto py-1',
container: 'z-10 w-full py-1',
base: 'u-bg-white shadow-lg rounded-md ring-1 u-ring-gray-200 focus:outline-none overflow-y-auto py-1 max-h-60',
option: {
base: 'cursor-default select-none relative py-2 pl-4 pr-10 text-sm',
active: 'text-white bg-primary-600',