[RAM] Fix Delete Schedule button padding issue (#154503)

## Summary

Closes #152398 

Fixes the bug with the `Delete schedule` button losing its padding when
a date value goes invalid
This commit is contained in:
Zacqary Adam Xeper 2023-04-10 11:29:49 -05:00 committed by GitHub
parent 04f1be1edd
commit a0d754c595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -362,7 +362,16 @@ const RuleSnoozeSchedulerPanel: React.FunctionComponent<PanelOpts> = ({
{(initialSchedule || showDelete) && (
<>
{!inPopover && <EuiSpacer size="s" />}
<EuiPopoverFooter>
<EuiPopoverFooter
paddingSize="m"
style={
/* FIXME https://github.com/elastic/eui/issues/6695 */
{
marginBlock: '16px -16px',
marginInline: '-16px',
}
}
>
{!inPopover && <EuiSpacer size="s" />}
<EuiFlexGroup>
<EuiFlexItem grow>