Skip to content

Commit 696af93

Browse files
committed
Change input style
1 parent 2ef1ee5 commit 696af93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const Input: React.FC = () => {
1717
const getClassName = useCallback(() => {
1818
const border = BORDER_COLOR.focus[primaryColor as keyof typeof BORDER_COLOR.focus];
1919
const ring = RING_COLOR["second-focus"][primaryColor as keyof typeof RING_COLOR["second-focus"]];
20-
return `transition-all duration-300 py-2.5 pl-4 pr-14 w-full border-gray-300 dark:bg-slate-800 dark:text-white/80 dark:border-slate-600 rounded-lg tracking-wide font-light text-sm placeholder-gray-400 bg-white focus:ring ${border} ${ring}`;
20+
return `relative z-10 transition-all duration-300 py-2.5 pl-4 pr-14 w-full border-gray-300 dark:bg-slate-800 dark:text-white/80 dark:border-slate-600 rounded-lg tracking-wide font-light text-sm placeholder-gray-400 bg-white focus:ring ${border} ${ring}`;
2121
}, [primaryColor]);
2222

2323
const handleInputChange = useCallback((e: React.ChangeEvent<HTMLInputElement>) => {

0 commit comments

Comments
 (0)