Skip to content

Monitor charts headings are not aligned to the panel group title

Summary

Monitor charts headings are not aligned to the panel group title

Steps to reproduce

  • Visit the monitor dashboard and add display some metrics:
    • http://<ip>:3000/root/autodevops-deploy/environments/27/metrics
  • See the charts headings

What is the current bug behavior?

The title and chart are not aligned:

example 1 example 2
Screen_Shot_2019-09-06_at_8.58.04_AM Screen_Shot_2019-09-06_at_9.01.18_AM

|

What is the expected correct behavior?

The title and chart align correctly:

Possible fixes

Just in terms of ensuring this chart is consistent with the other charts: I think the y-axis title is meant to be 16px from the edge of the y-axis labels. It looks like it's greater than that here?

Related to: https://gitlab.com/gitlab-org/gitlab-ee/issues/14783

Edited by Miguel Rincon