Skip to content

Commit

Permalink
change mounting point id and fix sizing
Browse files Browse the repository at this point in the history
Signed-off-by: Joanne Wang <jowg@amazon.com>
  • Loading branch information
jowg-amazon committed Sep 20, 2024
1 parent f3baa26 commit e6a38b0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const DataSourceAlertsCard: React.FC<DataSourceAlertsCardProps> = ({ get
const createAlertDetailsHeader = useCallback((alert) => {
const severityColor = getSeverityColor(alert.severity);
const triggerName = alert.trigger_name ?? DEFAULT_EMPTY_DATA;
const monitorUrl = `alerting#/monitors/${
const monitorUrl = `${MONITORS_NAV_ID}#/monitors/${
alert.alert_source === 'workflow' ? alert.workflow_id : alert.monitor_id
}?&type=${alert.alert_source}`;
const url = getURL(monitorUrl, dataSource?.id);
Expand Down Expand Up @@ -105,7 +105,7 @@ export const DataSourceAlertsCard: React.FC<DataSourceAlertsCardProps> = ({ get
});

return (
<EuiPanel hasBorder={false} hasShadow={false} grow={false} style={{ overflow: 'hidden' }}>
<EuiPanel hasBorder={false} hasShadow={false} style={{ overflow: 'hidden' }}>
<EuiFlexGroup style={{ height: '100%' }} direction="column" justifyContent="spaceBetween" alignItems="flexStart" gutterSize="xs">
<EuiFlexItem grow={false} style={{ width: '100%', height: '90%' }}>
<EuiFlexGroup direction="column" style={{ height: '100%' }}>
Expand Down

0 comments on commit e6a38b0

Please sign in to comment.