Commit 3354bfd8 authored by Phil Hughes's avatar Phil Hughes

CSS cleanup

parent fe71edc3
......@@ -191,10 +191,6 @@
&.input-clamp {
max-width: 100%;
}
&.input-full {
width: 100%;
}
}
.select2-highlighted {
......
.project-members-new {
> h5 {
font-weight: normal;
}
}
.member {
.list-item-name {
float: none;
......@@ -16,6 +10,7 @@
.controls {
@media (min-width: $screen-sm-min) {
display: -webkit-flex;
display: flex;
width: 400px;
max-width: 50%;
......@@ -26,8 +21,9 @@
margin-top: 5px;
@media (min-width: $screen-sm-min) {
display: -webkit-flex;
display: flex;
flex: 1;
width: 100%;
margin-top: 3px;
}
}
......
= form_for @group_member, url: group_group_members_path(@group), html: { class: 'users-project-form users-group-form' } do |f|
.row
.col-md-4.col-lg-6
= users_select_tag(:user_ids, multiple: true, class: 'input-full', scope: :all, email_user: true)
= users_select_tag(:user_ids, multiple: true, class: 'input-clamp', scope: :all, email_user: true)
.help-block.append-bottom-10
Search for users by name, username, or email, or invite new ones using their email address.
......
......@@ -6,7 +6,7 @@
%hr
- if can?(current_user, :admin_group_member, @group)
.project-members-new.append-bottom-default
%h5.clearfix
%p.clearfix
Add new user to
%strong= @group.name
= render "new_group_member"
......
= form_for @project_member, as: :project_member, url: namespace_project_project_members_path(@project.namespace, @project), html: { class: 'users-project-form' } do |f|
.row
.col-md-4.col-lg-6
= users_select_tag(:user_ids, multiple: true, class: "input-full", scope: :all, email_user: true)
= users_select_tag(:user_ids, multiple: true, class: "input-clamp", scope: :all, email_user: true)
.help-block.append-bottom-10
Search for users by name, username, or email, or invite new ones using their email address.
......
......@@ -7,7 +7,7 @@
%hr
- if can?(current_user, :admin_project_member, @project)
.project-members-new.append-bottom-default
%h5.clearfix
%p.clearfix
Add new user to
%strong= @project.name
= render "new_project_member"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment