summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-02-09 13:36:51 +0530
committerKushal Pandya <kushal@gitlab.com>2017-02-09 13:36:51 +0530
commitbeb56533cb482c3c69cf9d6dcb1c29bb89dcbe6d (patch)
tree320e356325c558325ecb014ee45b99b4d74b85ba
parentfc425be1a453e8281049c7e00884f6427445176e (diff)
downloadgitlab-ce-beb56533cb482c3c69cf9d6dcb1c29bb89dcbe6d.tar.gz
Set dropdown to fixed height of `250px` and make it scrollable26206-fix-download-dropdown
-rw-r--r--app/assets/stylesheets/pages/pipelines.scss5
-rw-r--r--app/assets/stylesheets/pages/projects.scss7
2 files changed, 12 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss
index 974100bdff0..92e1181bcc0 100644
--- a/app/assets/stylesheets/pages/pipelines.scss
+++ b/app/assets/stylesheets/pages/pipelines.scss
@@ -218,6 +218,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 8b59c20cb65..5a011fdaa8c 100644
--- a/app/assets/stylesheets/pages/projects.scss
+++ b/app/assets/stylesheets/pages/projects.scss
@@ -271,6 +271,13 @@
}
}
+.project-repo-buttons {
+ .project-action-button .dropdown-menu {
+ max-height: 250px;
+ overflow-y: auto;
+ }
+}
+
.split-one {
display: inline-table;
margin-right: 12px;