summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-07-13 19:46:01 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-07-13 19:46:01 +0000
commitc306e403fe3f74048488caac64b6c352e7ef5f3d (patch)
treeeba0a193478555bba517e934eea039f0d5f2a472
parent6658c706f1fb06e0ec36359dafad2e85ca0d1731 (diff)
parentf01e71a8b2c52f5c8207532b13c49e2ee9274ce8 (diff)
downloadgitlab-ce-c306e403fe3f74048488caac64b6c352e7ef5f3d.tar.gz
Merge branch 'artifacts-download-dropdown-menu-is-too-narrow' into 'master'
Increase width of dropdown menus Closes #34989 See merge request !12809
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss3
-rw-r--r--changelogs/unreleased/artifacts-download-dropdown-menu-is-too-narrow.yml4
2 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index 8eacb7d950d..f89f2f30443 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -187,11 +187,12 @@
@include set-invisible;
display: block;
position: absolute;
- width: 100%;
+ width: auto;
top: 100%;
left: 0;
z-index: 9;
min-width: 240px;
+ max-width: 500px;
margin-top: 2px;
margin-bottom: 0;
font-size: 14px;
diff --git a/changelogs/unreleased/artifacts-download-dropdown-menu-is-too-narrow.yml b/changelogs/unreleased/artifacts-download-dropdown-menu-is-too-narrow.yml
new file mode 100644
index 00000000000..7d47c60e262
--- /dev/null
+++ b/changelogs/unreleased/artifacts-download-dropdown-menu-is-too-narrow.yml
@@ -0,0 +1,4 @@
+---
+title: Increase width of dropdown menus automatically
+merge_request: 12809
+author: Thomas Wucher