From b88b06d50b73050052c0001feeb6871fcdbf64c0 Mon Sep 17 00:00:00 2001 From: zojgame Date: Thu, 2 May 2024 18:25:45 +0500 Subject: [PATCH] filters fix --- src/components/Button.tsx | 4 ++-- src/components/MultiRangeSlider.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Button.tsx b/src/components/Button.tsx index b472fae..f04b069 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -31,12 +31,12 @@ const Button = ({ onClick={onClick} className={`min-w-10 max-h-10 ${ icon && !text ? "p-[10px]" : padding - } transition-all duration-300 ease-in-out text-s pointer-events-auto flex gap-1 items-center h-fit ${backgroundColor} ${textColor} ${border} ${ + } transition-all duration-300 ease-in-out text-s pointer-events-auto flex gap-1 items-center align-middle h-fit ${backgroundColor} ${textColor} ${border} ${ className ? className : "" }`} > {icon &&
{icon}
} - {text &&

{text}

} + {text &&
{text}
} ); }; diff --git a/src/components/MultiRangeSlider.tsx b/src/components/MultiRangeSlider.tsx index 3466db9..ed0bfdf 100644 --- a/src/components/MultiRangeSlider.tsx +++ b/src/components/MultiRangeSlider.tsx @@ -56,7 +56,7 @@ const MultiRangeSlider = ({ min, max, onChange }: MultiRangeSliderProps) => { type="number" onChange={handleOnFirstInputChange} defaultValue={firstValue} - className="focus:outline-none input_number" + className="focus:outline-none input_number w-1/2" /> { key={secondValue} type="number" defaultValue={secondValue} - className="focus:outline-none appearance-none input_number text-right" + className="focus:outline-none appearance-none input_number text-right w-1/2" />