Commit 6575c9cb by Torkel Ödegaard Committed by Arve Knudsen

Forms: Fix input suffix position (#22780)

* Forms: Fix input suffix position

* Update

(cherry picked from commit ab0238ec)
parent 0ad27a65
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment