summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/monitoring/utils
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-07-04 17:03:33 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-07-06 07:28:33 -0500
commit495c7fbe0ba3e3c0daa2f4b3e489859c2a356579 (patch)
tree1c73b2df2f97fc47bf0535a4267c520e3a25d278 /app/assets/javascripts/monitoring/utils
parentd6836a3bc66662618efdd4f86969bdfd0904aca8 (diff)
downloadgitlab-ce-495c7fbe0ba3e3c0daa2f4b3e489859c2a356579.tar.gz
Cleanup minor UX issues in the performance dashboard
Diffstat (limited to 'app/assets/javascripts/monitoring/utils')
-rw-r--r--app/assets/javascripts/monitoring/utils/measurements.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/assets/javascripts/monitoring/utils/measurements.js b/app/assets/javascripts/monitoring/utils/measurements.js
index a60d2522f49..62cd19c86e1 100644
--- a/app/assets/javascripts/monitoring/utils/measurements.js
+++ b/app/assets/javascripts/monitoring/utils/measurements.js
@@ -8,14 +8,14 @@ export default {
},
legends: {
width: 15,
- height: 30,
+ height: 25,
},
backgroundLegend: {
width: 30,
height: 50,
},
axisLabelLineOffset: -20,
- legendOffset: 52,
+ legendOffset: 35,
},
large: { // This covers both md and lg screen sizes
margin: {
@@ -26,14 +26,15 @@ export default {
},
legends: {
width: 20,
- height: 35,
+ height: 30,
},
backgroundLegend: {
width: 30,
height: 150,
},
axisLabelLineOffset: 20,
- legendOffset: 55,
+ legendOffset: 38,
},
- ticks: 3,
+ xTicks: 8,
+ yTicks: 3,
};