Forms: Fix input suffix position (#22780)
* Forms: Fix input suffix position
* Update
(cherry picked from commit ab0238eced)
This commit is contained in:
committed by
Arve Knudsen
parent
0ad27a6596
commit
6575c9cb6e
@@ -47,11 +47,6 @@ export const getInputStyles = stylesFactory(({ theme, invalid = false }: StyleDe
|
||||
height: 100%;
|
||||
/* Min width specified for prefix/suffix classes used outside React component*/
|
||||
min-width: ${prefixSuffixStaticWidth};
|
||||
// Hack to fix font awesome icons
|
||||
> .fa {
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
`;
|
||||
|
||||
return {
|
||||
|
||||
@@ -14,7 +14,6 @@ export const IndicatorsContainer = React.forwardRef<HTMLDivElement, React.PropsW
|
||||
styles.suffix,
|
||||
css`
|
||||
position: relative;
|
||||
top: 1px;
|
||||
`
|
||||
)}
|
||||
ref={ref}
|
||||
|
||||
Reference in New Issue
Block a user