Merge pull request #1193 from prymitive/fix-history-menu

fix(ui): fix history menu layout
This commit is contained in:
Łukasz Mierzwa
2019-11-28 15:44:56 +00:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -140,7 +140,8 @@ class AlwaysOnAlert(AlertGenerator):
def _gen(size, cluster):
return [newAlert(
self._labels(instance="server{}".format(i), cluster=cluster,
severity="info", job="node_exporter", region="US"),
severity="info", job="node_exporter", region="US",
repo="http://github.com/prymitive/karma"),
self._annotations(
summary="Silence this alert, it's always firing")
) for i in xrange(1, size)]
@@ -157,7 +158,7 @@ class RandomInstances(AlertGenerator):
newAlert(
self._labels(instance="server{}".format(i), cluster="staging",
severity="warning", job="node_exporter",
region="US"),
region="US", repo="Link to github.com maybe"),
self._annotations(
dashboard="https://www.google.com/search?q="
"server{}".format(i))

View File

@@ -105,7 +105,7 @@ const HistoryMenuContent = ({
))
)}
<div className="dropdown-divider" />
<div className="container text-center">
<div className="px-3 d-flex justify-content-center flex-wrap">
<ActionButton
color="success"
icon={faSave}