From 09bb1cc3b589464acfaaecf05b99b78aa1dbb5b4 Mon Sep 17 00:00:00 2001 From: Diego Medina Date: Fri, 2 Dec 2022 18:20:38 -0300 Subject: [PATCH] fix(alerts): cron picker alignment issues (#22274) --- superset-frontend/src/components/CronPicker/CronPicker.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/superset-frontend/src/components/CronPicker/CronPicker.tsx b/superset-frontend/src/components/CronPicker/CronPicker.tsx index 4a98e729c..385062e0c 100644 --- a/superset-frontend/src/components/CronPicker/CronPicker.tsx +++ b/superset-frontend/src/components/CronPicker/CronPicker.tsx @@ -122,4 +122,10 @@ export const CronPicker = styled((props: CronProps) => ( .react-js-cron-custom-select > div:first-of-type { border-radius: ${({ theme }) => theme.gridUnit}px; } + .react-js-cron-custom-select .ant-select-selection-placeholder { + flex: auto; + } + .react-js-cron-custom-select .ant-select-selection-overflow-item { + align-self: center; + } `;