summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Rincon <mrincon@gitlab.com>2019-08-06 10:46:39 -0500
committerMiguel Rincon <mrincon@gitlab.com>2019-08-06 11:20:21 -0500
commitd0b581dfba4ce6b0dd9200c7c67a1c962be56f82 (patch)
tree7d23e8d221e913730c639cfd17fd75799cd7d4b7
parent7186a5274758a71ceee31e60efd529d27cd4d47d (diff)
downloadgitlab-ce-64730-metrics-dashboard-menu-is-cramped-with-new-features-enabled.tar.gz
Apply pixel-based design to center vertically64730-metrics-dashboard-menu-is-cramped-with-new-features-enabled
-rw-r--r--app/assets/javascripts/monitoring/components/dashboard.vue2
-rw-r--r--app/assets/stylesheets/pages/prometheus.scss9
2 files changed, 10 insertions, 1 deletions
diff --git a/app/assets/javascripts/monitoring/components/dashboard.vue b/app/assets/javascripts/monitoring/components/dashboard.vue
index ec82183a0f6..d19db64a9e8 100644
--- a/app/assets/javascripts/monitoring/components/dashboard.vue
+++ b/app/assets/javascripts/monitoring/components/dashboard.vue
@@ -276,7 +276,7 @@ export default {
<template>
<div class="prometheus-graphs">
- <div class="gl-pl-3 gl-pr-3 gl-pt-1 gl-pb-0 border-bottom bg-gray-light">
+ <div class="gl-p-3 pb-0 border-bottom bg-gray-light">
<div class="row">
<template v-if="environmentsEndpoint">
<gl-form-group
diff --git a/app/assets/stylesheets/pages/prometheus.scss b/app/assets/stylesheets/pages/prometheus.scss
index 7d8aa33910f..72f1b5307ec 100644
--- a/app/assets/stylesheets/pages/prometheus.scss
+++ b/app/assets/stylesheets/pages/prometheus.scss
@@ -4,6 +4,15 @@
margin-left: auto;
}
}
+
+ .col-form-label {
+ line-height: 1;
+ padding-top: 0;
+ }
+
+ .form-group {
+ margin-bottom: map-get($spacing-scale, 3);
+ }
}
.prometheus-panel {