Fix: Adjust text alignment based on direction in FileInput component

This commit is contained in:
Nithin David Thomas 2026-03-02 18:02:22 +05:30
parent 2c4f5e6ca7
commit d0eec9fba7

View file

@ -330,7 +330,7 @@ export const FileInput = (props) => {
className="tw-text-sm tw-w-full"
style={{
color: errTextColor,
textAlign: direction ?? 'left',
textAlign: direction === 'right' ? 'left' : 'right',
fontSize: '11px',
fontWeight: '400',
lineHeight: '16px',