attempt to center input
This commit is contained in:
parent
050d94e8d7
commit
1497f97395
|
@ -75,6 +75,17 @@ body {
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
.j2-table {
|
||||
display: table;
|
||||
}
|
||||
|
||||
.input--center {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.sweet-overlay {
|
||||
z-index: 1031;
|
||||
}
|
|
@ -10,8 +10,8 @@
|
|||
- current_user.groups.each do |group|
|
||||
%li.list-group-item
|
||||
.media
|
||||
.pull-left
|
||||
%input{type: :checkbox, name: 'gm-group-check', data: { group_name: group.name }, checked: @user.member_of?(group)}
|
||||
.pull-left.j2-table
|
||||
%input.input--center{type: :checkbox, name: 'gm-group-check', data: { group_name: group.name }, checked: @user.member_of?(group)}
|
||||
.media-body
|
||||
.list-group-item-heading= group.display_name
|
||||
.list-group-item-text.text-muted.j2-up
|
||||
|
|
Loading…
Reference in New Issue