Skip to content

Commit

Permalink
[Observability] Overview: Alerts section style improvements (#77670)
Browse files Browse the repository at this point in the history
* Adding margin for the alert item
* Make the link text smaller
  • Loading branch information
formgeist authored Sep 17, 2020
1 parent 79c26e3 commit 58aa101
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
EuiIconTip,
EuiLink,
EuiText,
EuiSpacer,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import moment from 'moment';
Expand Down Expand Up @@ -80,13 +81,14 @@ export function AlertsSection({ alerts }: Props) {
const isLastElement = index === alerts.length - 1;
return (
<EuiFlexGroup direction="column" gutterSize="s" key={alert.id}>
<EuiSpacer size="s" />
<EuiFlexItem>
<EuiLink
href={core.http.basePath.prepend(
`/app/management/insightsAndAlerting/triggersActions/alert/${alert.id}`
)}
>
{alert.name}
<EuiText size="s">{alert.name}</EuiText>
</EuiLink>
</EuiFlexItem>
<EuiFlexItem grow={false}>
Expand Down

0 comments on commit 58aa101

Please sign in to comment.