From e1fb173ffc94860387951eb49eb1f0f9da82dc72 Mon Sep 17 00:00:00 2001 From: SpiderMan Date: Fri, 1 Apr 2022 09:23:17 -0400 Subject: [PATCH 1/3] fix: Set fixed maxWidth of the cron schedule modal --- superset-frontend/src/components/ReportModal/styles.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/superset-frontend/src/components/ReportModal/styles.tsx b/superset-frontend/src/components/ReportModal/styles.tsx index b37939b4feca6..1524a73481d7d 100644 --- a/superset-frontend/src/components/ReportModal/styles.tsx +++ b/superset-frontend/src/components/ReportModal/styles.tsx @@ -71,6 +71,7 @@ export const StyledScheduleTitle = styled.div` export const StyledCronPicker = styled(CronPicker)` margin-bottom: ${({ theme }) => theme.gridUnit * 3}px; + max-width: 450px; `; export const StyledCronError = styled.p` From 8520ec8f0f0785bbec5f55e23902a4cfc77f28b9 Mon Sep 17 00:00:00 2001 From: SpiderMan Date: Thu, 21 Apr 2022 14:47:04 -0400 Subject: [PATCH 2/3] resolve comment --- superset-frontend/src/components/ReportModal/styles.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/components/ReportModal/styles.tsx b/superset-frontend/src/components/ReportModal/styles.tsx index 24df18a98dd8a..48d56b18f6b63 100644 --- a/superset-frontend/src/components/ReportModal/styles.tsx +++ b/superset-frontend/src/components/ReportModal/styles.tsx @@ -71,7 +71,7 @@ export const StyledScheduleTitle = styled.div` export const StyledCronPicker = styled(CronPicker)` margin-bottom: ${({ theme }) => theme.gridUnit * 3}px; - max-width: 450px; + width: 450px; `; export const StyledCronError = styled.p` From 61637f555a643c2d9acf141d54cf39a2f1b52c43 Mon Sep 17 00:00:00 2001 From: SpiderMan Date: Thu, 28 Apr 2022 13:25:57 -0400 Subject: [PATCH 3/3] resolve comment --- superset-frontend/src/components/ReportModal/styles.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/components/ReportModal/styles.tsx b/superset-frontend/src/components/ReportModal/styles.tsx index 48d56b18f6b63..752dbbdbddb2d 100644 --- a/superset-frontend/src/components/ReportModal/styles.tsx +++ b/superset-frontend/src/components/ReportModal/styles.tsx @@ -71,7 +71,7 @@ export const StyledScheduleTitle = styled.div` export const StyledCronPicker = styled(CronPicker)` margin-bottom: ${({ theme }) => theme.gridUnit * 3}px; - width: 450px; + width: ${({ theme }) => theme.gridUnit * 120}px; `; export const StyledCronError = styled.p`