Skip to content

Commit e60f323

Browse files
fix: change in styles
1 parent 0479b26 commit e60f323

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/components/Form/Input/WrapperInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const WrapperInput = forwardRef<HTMLDivElement, WrapperInputProps>(
5656
classNameAdornment
5757
),
5858
container: composeClasses(
59-
'gap-3 placeholder-gray-400 mt-1 flex items-center justify-between bg-transparent font-medium',
59+
'gap-3 placeholder-gray-400 mt-1 flex items-center justify-between bg-transparent font-medium',
6060
'border-solid border',
6161
'transition duration-500 ease-out focus:ease-in',
6262
!isDisabled && !isCell && `hover:shadow-${boxShadow} hover:border-info`,

src/components/Form/SingleSelect.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ function SingleSelect({
9797
classNameAdornment
9898
),
9999
container: composeClasses(
100-
'relative placeholder-gray-400 flex items-center justify-between font-medium gap-3 cursor-pointer h-10 bg-white',
100+
'relative placeholder-gray-400 flex items-center justify-between font-medium gap-3 cursor-pointer h-10',
101+
lightOption ? 'bg-white' : 'bg-transparent',
101102
'border-solid border rounded-lg px-4',
102103
'transition duration-500 ease-out focus:ease-in border-gray-300',
103104
!isDisabled && !isOpen && `hover:shadow-lg hover:border-info`,
@@ -214,10 +215,7 @@ function SingleSelect({
214215
<Transition className="w-full absolute z-50">
215216
<div
216217
role="dropdown"
217-
className={composeClasses(
218-
lightOption ? 'bg-white' : 'bg-transparent',
219-
'relative left-0 z-50 w-full overflow-y-auto top-1 rounded-lg shadow-lg'
220-
)}
218+
className="relative left-0 z-50 w-full overflow-y-auto top-1 rounded-lg shadow-lg bg-white"
221219
style={{
222220
...getAnimationStyle(isOpen),
223221
border: '1px solid #F9FAFB'

0 commit comments

Comments
 (0)