fix(ui): make warnings on the Help page more readable

This commit is contained in:
Łukasz Mierzwa
2019-11-30 11:39:46 +00:00
parent d7a15ea2f5
commit 36063f51d6
2 changed files with 5 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ const QueryHelp = ({ title, operators, warning, children }) => (
))}
</div>
{warning ? (
<div className="my-1 alert alert-light">
<div className="my-1 alert alert-secondary">
<FontAwesomeIcon icon={faInfoCircle} className="mr-1" />
{warning}
</div>
@@ -240,7 +240,7 @@ const Help = ({ defaultIsOpen }) => (
<QueryHelp
title="Match alerts based on the ticket IDs detected in the silence comment"
operators={["=", "!=", "=~", "!~"]}
warning="This is supported only if ticket regexp are enabled and able to
warning="This is supported only if ticket regexp rules are enabled and able to
match ticket IDs in the silence comment."
>
<FilterExample example="@silence_ticket=PROJECT-123">

View File

@@ -685,7 +685,7 @@ exports[`<Help /> matches snapshot 1`] = `
!~
</kbd>
</div>
<div class=\\"my-1 alert alert-light\\">
<div class=\\"my-1 alert alert-secondary\\">
<svg aria-hidden=\\"true\\"
focusable=\\"false\\"
data-prefix=\\"fas\\"
@@ -700,7 +700,7 @@ exports[`<Help /> matches snapshot 1`] = `
>
</path>
</svg>
This is supported only if ticket regexp are enabled and able to match ticket IDs in the silence comment.
This is supported only if ticket regexp rules are enabled and able to match ticket IDs in the silence comment.
</div>
<div>
Examples:
@@ -760,7 +760,7 @@ exports[`<Help /> matches snapshot 1`] = `
=
</kbd>
</div>
<div class=\\"my-1 alert alert-light\\">
<div class=\\"my-1 alert alert-secondary\\">
<svg aria-hidden=\\"true\\"
focusable=\\"false\\"
data-prefix=\\"fas\\"