summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-06-02 17:03:30 +0530
committerkushalpandya <kushal@gitlab.com>2017-06-02 17:03:30 +0530
commit223abc6df005beba45a514b44af7227b224dadd3 (patch)
tree6ef9f29f4571196180f3e7eda90ceb8b99900cbb
parent3f0eff82592f4a30abb6ffd15ac248a5f773c994 (diff)
downloadgitlab-ce-28717-fe-prometheus-additional-metrics.tar.gz
Use `.text-center` class instead of text-align prop28717-fe-prometheus-additional-metrics
-rw-r--r--app/assets/stylesheets/pages/settings.scss1
-rw-r--r--app/views/projects/services/prometheus/_show.html.haml4
2 files changed, 2 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/settings.scss b/app/assets/stylesheets/pages/settings.scss
index e2ed1239541..7f39a99b59d 100644
--- a/app/assets/stylesheets/pages/settings.scss
+++ b/app/assets/stylesheets/pages/settings.scss
@@ -67,7 +67,6 @@
.loading-metrics,
.empty-metrics {
- text-align: center;
padding: 30px 10px;
p,
diff --git a/app/views/projects/services/prometheus/_show.html.haml b/app/views/projects/services/prometheus/_show.html.haml
index f0bd8c8bee9..c4ac384ca1a 100644
--- a/app/views/projects/services/prometheus/_show.html.haml
+++ b/app/views/projects/services/prometheus/_show.html.haml
@@ -17,10 +17,10 @@
Monitored
%span.badge.js-monitored-count 0
.panel-body
- .loading-metrics.js-loading-metrics
+ .loading-metrics.text-center.js-loading-metrics
= icon('spinner spin 3x', class: 'metrics-load-spinner')
%p Finding and configuring metrics...
- .empty-metrics.hidden.js-empty-metrics
+ .empty-metrics.text-center.hidden.js-empty-metrics
= custom_icon('icon_empty_metrics')
%p No metrics are being monitored. To start monitoring, deploy to an environment.
= link_to project_environments_path(@project), title: 'View environments', class: 'btn btn-success' do