summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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