From 2ccaef8768c594b4cdb457977360e7d783f14e29 Mon Sep 17 00:00:00 2001 From: Diego Medina Date: Wed, 30 Nov 2022 11:04:07 -0300 Subject: [PATCH] fix(alerts): cron picker alignment issues --- 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 4a98e729ce331..385062e0cec85 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; + } `;