summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNur Rony <pro.nmrony@gmail.com>2017-02-06 21:48:06 +0600
committerNur Rony <pro.nmrony@gmail.com>2017-02-09 14:25:50 +0600
commitc0f2fd13abc909504af8ae287b147630f12ded42 (patch)
tree4fd46880e2fe3d483ddabf5bf296044b5c6add8f
parent62870a0e50ddbcdb0a0536e5523c17886c8f7022 (diff)
downloadgitlab-ce-c0f2fd13abc909504af8ae287b147630f12ded42.tar.gz
fixes dropdown width in admin project page
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index facfb7f9920..3d6e90ccfd1 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -125,7 +125,6 @@
top: 100%;
left: 0;
z-index: 9;
- max-width: 280px;
min-width: 240px;
margin-top: 2px;
margin-bottom: 0;
@@ -137,6 +136,10 @@
border-radius: $border-radius-base;
box-shadow: 0 2px 4px $dropdown-shadow-color;
+ @media (min-width: $screen-md-min) {
+ max-width: 280px;
+ }
+
&.is-loading {
.dropdown-content {
display: none;