Merge pull request #1263 from prymitive/overview

fix(ui): correct background color for alertname badges
This commit is contained in:
Łukasz Mierzwa
2019-12-16 23:15:21 +00:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ const TableRows = observer(({ alertStore, nameStats }) =>
nameStats.map(nameStats => (
<tr key={nameStats.name}>
<td width="25%" className="text-nowrap mw-100 p-1">
<span className="badge badge-light components-label mx-0 mt-0 mb-auto pl-0 text-left">
<span className="badge badge-secondary components-label mx-0 mt-0 mb-auto pl-0 text-left">
<span className="bg-primary text-white mr-1 px-1 components-labelWithPercent-percent">
{nameStats.hits}
</span>

View File

@@ -24,7 +24,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
<td width=\\"25%\\"
class=\\"text-nowrap mw-100 p-1\\"
>
<span class=\\"badge badge-light components-label mx-0 mt-0 mb-auto pl-0 text-left\\">
<span class=\\"badge badge-secondary components-label mx-0 mt-0 mb-auto pl-0 text-left\\">
<span class=\\"bg-primary text-white mr-1 px-1 components-labelWithPercent-percent\\">
16
</span>
@@ -131,7 +131,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
<td width=\\"25%\\"
class=\\"text-nowrap mw-100 p-1\\"
>
<span class=\\"badge badge-light components-label mx-0 mt-0 mb-auto pl-0 text-left\\">
<span class=\\"badge badge-secondary components-label mx-0 mt-0 mb-auto pl-0 text-left\\">
<span class=\\"bg-primary text-white mr-1 px-1 components-labelWithPercent-percent\\">
20
</span>
@@ -439,7 +439,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
<td width=\\"25%\\"
class=\\"text-nowrap mw-100 p-1\\"
>
<span class=\\"badge badge-light components-label mx-0 mt-0 mb-auto pl-0 text-left\\">
<span class=\\"badge badge-secondary components-label mx-0 mt-0 mb-auto pl-0 text-left\\">
<span class=\\"bg-primary text-white mr-1 px-1 components-labelWithPercent-percent\\">
5
</span>