diff options
author | Annabel Gray <annabel.m.gray@gmail.com> | 2018-06-13 01:24:12 +0000 |
---|---|---|
committer | Annabel Gray <annabel.m.gray@gmail.com> | 2018-06-13 01:24:12 +0000 |
commit | fba123a329f44ed80bbf71feb639dab9afc13d6f (patch) | |
tree | b690d48b8feb7e8a3813f54eb493117b99ed4f4a | |
parent | b4f29f589ba49d5a127f2a3076bb25997de9f29a (diff) | |
parent | c0d84dcdc3c593ae1d5a487328a4df42bce17d1c (diff) | |
download | gitlab-ce-fba123a329f44ed80bbf71feb639dab9afc13d6f.tar.gz |
Merge branch '46702-groups-members-no-padding-between-dropdowns-input' into 'master'
Resolve "Groups > Members > No padding between dropdowns/input"
Closes #46702
See merge request gitlab-org/gitlab-ce!19724
-rw-r--r-- | app/assets/stylesheets/pages/members.scss | 4 | ||||
-rw-r--r-- | app/views/groups/group_members/index.html.haml | 7 | ||||
-rw-r--r-- | app/views/projects/project_members/_team.html.haml | 7 |
3 files changed, 8 insertions, 10 deletions
diff --git a/app/assets/stylesheets/pages/members.scss b/app/assets/stylesheets/pages/members.scss index 9914555d309..5fdb2b4a90a 100644 --- a/app/assets/stylesheets/pages/members.scss +++ b/app/assets/stylesheets/pages/members.scss @@ -121,10 +121,6 @@ background: transparent; border: 0; outline: 0; - - @include media-breakpoint-up(sm) { - right: 160px; - } } .flex-project-members-panel { diff --git a/app/views/groups/group_members/index.html.haml b/app/views/groups/group_members/index.html.haml index 6a0321bcd2b..13d584f5f1d 100644 --- a/app/views/groups/group_members/index.html.haml +++ b/app/views/groups/group_members/index.html.haml @@ -25,9 +25,10 @@ %span.badge= @members.total_count = form_tag group_group_members_path(@group), method: :get, class: 'form-inline member-search-form flex-project-members-form' do .form-group - = search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false } - %button.member-search-btn{ type: "submit", "aria-label" => "Submit search" } - = icon("search") + .position-relative.append-right-8 + = search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false } + %button.member-search-btn{ type: "submit", "aria-label" => "Submit search" } + = icon("search") - if can_manage_members = render 'shared/members/filter_2fa_dropdown' = render 'shared/members/sort_dropdown' diff --git a/app/views/projects/project_members/_team.html.haml b/app/views/projects/project_members/_team.html.haml index a30870a241c..0c5a187f208 100644 --- a/app/views/projects/project_members/_team.html.haml +++ b/app/views/projects/project_members/_team.html.haml @@ -9,9 +9,10 @@ %span.badge.badge-pill= members.total_count = form_tag project_project_members_path(project), method: :get, class: 'form-inline member-search-form flex-project-members-form' do .form-group - = search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false } - %button.member-search-btn{ type: "submit", "aria-label" => "Submit search" } - = icon("search") + .position-relative + = search_field_tag :search, params[:search], { placeholder: 'Find existing members by name', class: 'form-control', spellcheck: false } + %button.member-search-btn{ type: "submit", "aria-label" => "Submit search" } + = icon("search") = render 'shared/members/sort_dropdown' %ul.content-list.members-list = render partial: 'shared/members/member', collection: members, as: :member |