Make label actions dropdown style consistent

This commit is contained in:
winh 2017-08-10 21:59:26 +02:00
parent 6f0f65becb
commit fde951b8dc
3 changed files with 13 additions and 2 deletions

View file

@ -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%;
}
}
}
}

View file

@ -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;

View file

@ -14,10 +14,10 @@
%ul
%li
= link_to_label(label, subject: subject, type: :merge_request) do
view merge requests
View merge requests
%li
= link_to_label(label, subject: subject) do
view open issues
View open issues
- if current_user
%li.label-subscription
- if can_subscribe_to_label_in_different_levels?(label)