From f945900180c3fc21095cfa484a6d54ceb0606189 Mon Sep 17 00:00:00 2001 From: riahk Date: Wed, 3 Feb 2021 14:26:05 -0800 Subject: [PATCH] add required * indicator to message content/notif method --- .../src/views/CRUD/alert/AlertReportModal.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx b/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx index cf425c2ca9f5f..f75f6f99d6ad4 100644 --- a/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx +++ b/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx @@ -177,8 +177,19 @@ const StyledSectionContainer = styled.div` `; const StyledSectionTitle = styled.div` + display: flex; + align-items: center; margin: ${({ theme }) => theme.gridUnit * 2}px auto ${({ theme }) => theme.gridUnit * 4}px auto; + + h4 { + margin: 0; + } + + .required { + margin-left: ${({ theme }) => theme.gridUnit}px; + color: ${({ theme }) => theme.colors.error.base}; + } `; const StyledSwitchContainer = styled.div` @@ -1213,6 +1224,7 @@ const AlertReportModal: FunctionComponent = ({ ? t('Report schedule') : t('Alert condition schedule')} + * = ({

{t('Message content')}

+ *
@@ -1331,6 +1344,7 @@ const AlertReportModal: FunctionComponent = ({ />

{t('Notification method')}

+ *