Correction in Date Ranger in Attendance Logs.

This commit is contained in:
Kartik Sharma 2025-10-10 16:36:39 +05:30
parent 9de0b1a0df
commit 44b3f842f2

View File

@ -63,19 +63,18 @@ const DateRangePicker = ({
};
return (
<div className={`col-${sm} col-sm-${md} px-1`}>
<div className={`position-relative w-auto justify-content-center`}>
<input
type="text"
className="form-control form-control-sm ps-2 pe-5 me-4"
className="form-control form-control-sm w-100 pe-8 "
placeholder="From to End"
id="flatpickr-range"
ref={inputRef}
/>
<i
className="bx bx-calendar calendar-icon cursor-pointer position-relative top-50 translate-middle-y"
className="bx bx-calendar calendar-icon cursor-pointer position-absolute top-50 end-0 translate-middle-y me-2 "
onClick={handleIconClick}
style={{ right: "22px", bottom: "-8px" }}
/>
</div>
);