Skip to content

Commit 8508144

Browse files
committed
style(user-modal): simplify className conditional logic in ExpiryDateField
1 parent 01c4d9c commit 8508144

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dashboard/src/features/users/dialogs/user-modal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ const ExpiryDateField = ({
189189
<p
190190
className={cn(
191191
fieldName !== 'on_hold_timeout' && 'lg:w-48',
192-
'text-muted-foreground absolute top-full right-0 mt-1 text-end text-xs whitespace-nowrap lg:overflow-hidden lg:text-ellipsis',
193-
dir === 'rtl' ? 'right-0' : 'left-0',
192+
'text-muted-foreground absolute top-full right-0 mt-1 text-end text-xs whitespace-nowrap lg:overflow-hidden lg:text-ellipsis left-0'
194193
)}
195194
>
196195
{(() => {

0 commit comments

Comments
 (0)