Skip to content

Commit

Permalink
LF-4373: Fix icon bg color
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbrid committed Sep 24, 2024
1 parent 287d2a4 commit f7ff477
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/webapp/src/components/Form/LockedInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
import InputBase, { type InputBaseSharedProps } from '../InputBase';
import { FieldValues } from 'react-hook-form';
import Icon from '../../Icons';
import clsx from 'clsx';
import styles from './styles.module.scss';

export type LockedInputProps<T extends FieldValues> = InputBaseSharedProps & { className?: string };

Expand All @@ -28,7 +30,7 @@ export default function LockedInput<T extends FieldValues>({
{...props}
disabled
className={className}
rightSection={<Icon iconName={'LOCKED'} />}
rightSection={<Icon iconName={'LOCKED'} className={clsx(styles.icon)} />}
/>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.icon {
background-color: transparent
}

0 comments on commit f7ff477

Please sign in to comment.