Target area for dropdown list items is too small on Metrics Dashboard
Summary
When using the timepicker dropdown on the metrics dashboard, a user has to click the actual text of the link and can't just click in the container as a user would expect.
Steps to reproduce
- Go to an app with a metrics dashboard. Try this https://gitlab.com/syasonik/autodevops-deploy/environments/709392/metrics
- Click in the dropdown to change the timewindow and try clicking in the container for an option (but not on the actual text)
- Result: nothing happens.
Example Project
https://gitlab.com/syasonik/autodevops-deploy/environments/709392/metrics
What is the current bug behavior?
Nothing happens when you click on the list item container in the dropdown.
What is the expected correct behavior?
When you click on the list item container in the dropdown, it should select that value and refresh the charts.
Relevant logs and/or screenshots
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)