Forms: Fix input suffix position (#22780)

* Forms: Fix input suffix position

* Update
This commit is contained in:
Torkel Ödegaard 2020-03-16 14:18:40 +01:00 committed by GitHub
parent fb789e8398
commit ab0238eced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -47,11 +47,6 @@ export const getInputStyles = stylesFactory(({ theme, invalid = false }: StyleDe
height: 100%; height: 100%;
/* Min width specified for prefix/suffix classes used outside React component*/ /* Min width specified for prefix/suffix classes used outside React component*/
min-width: ${prefixSuffixStaticWidth}; min-width: ${prefixSuffixStaticWidth};
// Hack to fix font awesome icons
> .fa {
position: relative;
top: 2px;
}
`; `;
return { return {

View File

@ -14,7 +14,6 @@ export const IndicatorsContainer = React.forwardRef<HTMLDivElement, React.PropsW
styles.suffix, styles.suffix,
css` css`
position: relative; position: relative;
top: 1px;
` `
)} )}
ref={ref} ref={ref}