diff options
author | winh <winnie@gitlab.com> | 2017-08-10 21:59:26 +0200 |
---|---|---|
committer | winh <winnie@gitlab.com> | 2017-08-29 15:13:22 +0200 |
commit | fde951b8dcb61625df5fc0d3144154fd93d3ea76 (patch) | |
tree | dda8eeb3970040d1d1a9c3f4a663cced86bef7f4 /app/assets | |
parent | 6f0f65becbbe968bd26a5a3872044d7b8633bf2e (diff) | |
download | gitlab-ce-winh-label-action-dropdown.tar.gz |
Make label actions dropdown style consistentwinh-label-action-dropdown
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 9 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/labels.scss | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index a45d5a6dca0..9548af7f4ef 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -791,4 +791,13 @@ #{$selector}.dropdown-menu-align-right { margin-top: 2px; } + + .open { + #{$selector}.dropdown-menu, + #{$selector}.dropdown-menu-nav { + @media (max-width: $screen-xs-max) { + max-width: 100%; + } + } + } } diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss index ee48f7a3626..443f5500684 100644 --- a/app/assets/stylesheets/pages/labels.scss +++ b/app/assets/stylesheets/pages/labels.scss @@ -116,6 +116,8 @@ } .manage-labels-list { + @include new-style-dropdown; + > li:not(.empty-message):not(.is-not-draggable) { background-color: $white-light; cursor: move; |