Skip to content

Commit fa6d191

Browse files
committed
fix: input group
1 parent 4bbd7bf commit fa6d191

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/input-group/input-group.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import React from 'react';
33
import useClasses from '../use-classes';
44
import useScale, { withScale } from '../use-scale';
5-
import { pickChild } from 'components/utils/collections';
6-
import Button from 'components/button';
7-
import Input from 'components/input';
5+
import { pickChild } from '../utils/collections';
6+
import Button from '../button';
7+
import Input from '../input';
88

99
interface Props {
1010
buttonPosition?: 'start' | 'end';
@@ -76,14 +76,14 @@ const InputGroupComponent: React.FC<React.PropsWithChildren<InputGroupProps>> =
7676
box-shadow 200ms ease 0s;
7777
&:hover{
7878
border-color: var(--color-border-800);
79-
box-shadow none;
79+
box-shadow none;
8080
}
8181
}
8282
8383
.input-with-button {
8484
display: flex;
8585
}
86-
86+
8787
${SCALE.w(1, value => `width: ${value};`, 'auto', 'input-group')}
8888
${SCALE.h(2.5, value => `--input-group-height: ${value};`, undefined, 'input-group')}
8989
${SCALE.r(1, value => `--input-group-border-radius: ${value};`, 'var(--layout-radius)', 'input-group')}

0 commit comments

Comments
 (0)