The theme doesn't exist on props when used from the alerting management screen (#62811)
This commit is contained in:
parent
8d8c41153a
commit
18c3f75bfb
|
@ -320,11 +320,11 @@ interface ExpressionRowProps {
|
||||||
const StyledExpressionRow = euiStyled(EuiFlexGroup)`
|
const StyledExpressionRow = euiStyled(EuiFlexGroup)`
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin: 0 -${props => props.theme.eui.euiSizeXS};
|
margin: 0 -4px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledExpression = euiStyled.div`
|
const StyledExpression = euiStyled.div`
|
||||||
padding: 0 ${props => props.theme.eui.euiSizeXS};
|
padding: 0 4px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const ExpressionRow: React.FC<ExpressionRowProps> = props => {
|
export const ExpressionRow: React.FC<ExpressionRowProps> = props => {
|
||||||
|
|
Loading…
Reference in a new issue