diff options
author | Miguel Rincon <mrincon@gitlab.com> | 2019-08-09 18:45:18 +0300 |
---|---|---|
committer | Clement Ho <408677-ClemMakesApps@users.noreply.gitlab.com> | 2019-08-09 18:45:18 +0300 |
commit | ba82fb6dd4f29feca596dc72580d3b546f77bb88 (patch) | |
tree | 35481a7e43ad46b0b12a1e8dc3915dabb4b119f5 /app/assets/stylesheets/pages | |
parent | cdf347bf5e604b543c4b5e0e71c2da9ced6b647b (diff) |
Improve layout of dropdowns in metrics page
Ensure layout works on xs and sm screens
Add check in case buttons are not present
Apply Prettier to file
Remove unused class and div, reduce margins
Diffstat (limited to 'app/assets/stylesheets/pages')
-rw-r--r-- | app/assets/stylesheets/pages/prometheus.scss | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/assets/stylesheets/pages/prometheus.scss b/app/assets/stylesheets/pages/prometheus.scss index 05a4cc168a8..72f1b5307ec 100644 --- a/app/assets/stylesheets/pages/prometheus.scss +++ b/app/assets/stylesheets/pages/prometheus.scss @@ -1,17 +1,17 @@ .prometheus-graphs { - .dropdowns { - .dropdown-menu-toggle { - svg { - position: absolute; - right: 5%; - top: 25%; - } + .dropdown-buttons { + > div { + margin-left: auto; } + } - .dropdown-menu-toggle, - .dropdown-menu { - width: 240px; - } + .col-form-label { + line-height: 1; + padding-top: 0; + } + + .form-group { + margin-bottom: map-get($spacing-scale, 3); } } |