Skip to content

Commit

Permalink
Fixed: Misalignment of placeholder text inside date component in the … (
Browse files Browse the repository at this point in the history
#8240)

* Fixed: Misalignment of placeholder text inside date component in the add user page #8239

* Update src/Components/Common/DateInputV2.tsx

Co-authored-by: Rithvik Nishad <[email protected]>

---------

Co-authored-by: Rithvik Nishad <[email protected]>
  • Loading branch information
0xvish and rithviknishad authored Aug 7, 2024
1 parent eb5e6eb commit 91ef1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Common/DateInputV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const DateInputV2: React.FC<Props> = ({
type="text"
readOnly
disabled={disabled}
className={`cui-input-base cursor-pointer !px-2 disabled:cursor-not-allowed ${className}`}
className={`cui-input-base cursor-pointer disabled:cursor-not-allowed ${className}`}
placeholder={placeholder ?? t("select_date")}
value={value && dayjs(value).format("DD/MM/YYYY")}
/>
Expand Down

0 comments on commit 91ef1cf

Please sign in to comment.