mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Forms: Fix input suffix position (#22780)
* Forms: Fix input suffix position * Update
This commit is contained in:
parent
fb789e8398
commit
ab0238eced
@ -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 {
|
||||||
|
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user