diff options
author | Thomas Wucher <account-gitlab@thomaswucher.de> | 2017-07-12 09:44:33 +0000 |
---|---|---|
committer | Thomas Wucher <mail@thomaswucher.de> | 2017-07-13 20:26:37 +0200 |
commit | f01e71a8b2c52f5c8207532b13c49e2ee9274ce8 (patch) | |
tree | 6c029bf16c5a660aed385bd1296b13e329641e8e | |
parent | dc05bcd885e441e8cac0e5038141bca0775f049d (diff) | |
download | gitlab-ce-f01e71a8b2c52f5c8207532b13c49e2ee9274ce8.tar.gz |
Increase width of dropdown menus automatically up to 500 px
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 3 | ||||
-rw-r--r-- | changelogs/unreleased/artifacts-download-dropdown-menu-is-too-narrow.yml | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index dc4ed42544f..3b6bbf3552b 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -186,11 +186,12 @@ .dropdown-menu-nav { 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 |