summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-02-20 23:53:02 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-02-20 23:53:02 +0000
commitc7e22d5a1ca71b9462b18ce8756baa7b699f8d34 (patch)
treedd8474a301d6d13fd325b05f6a599dd14898702a
parent881529495379505542033bf7fb0d91cdc5b51e8d (diff)
parentbeb56533cb482c3c69cf9d6dcb1c29bb89dcbe6d (diff)
downloadgitlab-ce-c7e22d5a1ca71b9462b18ce8756baa7b699f8d34.tar.gz
Merge branch '26206-fix-download-dropdown' into 'master'
Set dropdown height fixed to `250px;` and make it scrollable Closes #26206 See merge request !9063
-rw-r--r--app/assets/stylesheets/pages/pipelines.scss5
-rw-r--r--app/assets/stylesheets/pages/projects.scss7
-rw-r--r--changelogs/unreleased/26206-fix-download-dropdown.yml4
3 files changed, 16 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss
index 00eb5b30fd5..3fe1eef307e 100644
--- a/app/assets/stylesheets/pages/pipelines.scss
+++ b/app/assets/stylesheets/pages/pipelines.scss
@@ -222,6 +222,11 @@
}
}
+ .dropdown-menu {
+ max-height: 250px;
+ overflow-y: auto;
+ }
+
.dropdown-toggle,
.dropdown-menu {
color: $gl-text-color-secondary;
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss
index adbdc5214a4..8c0de314420 100644
--- a/app/assets/stylesheets/pages/projects.scss
+++ b/app/assets/stylesheets/pages/projects.scss
@@ -268,6 +268,13 @@
}
}
+.project-repo-buttons {
+ .project-action-button .dropdown-menu {
+ max-height: 250px;
+ overflow-y: auto;
+ }
+}
+
.split-one {
display: inline-table;
margin-right: 12px;
diff --git a/changelogs/unreleased/26206-fix-download-dropdown.yml b/changelogs/unreleased/26206-fix-download-dropdown.yml
new file mode 100644
index 00000000000..a6c101375bb
--- /dev/null
+++ b/changelogs/unreleased/26206-fix-download-dropdown.yml
@@ -0,0 +1,4 @@
+---
+title: Set dropdown height fixed to 250px and make it scrollable
+merge_request: 9063
+author: