mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-20 21:10:00 +01:00
attempt to center input
This commit is contained in:
parent
050d94e8d7
commit
1497f97395
2 changed files with 13 additions and 2 deletions
|
@ -75,6 +75,17 @@ body {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.j2-table {
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input--center {
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.sweet-overlay {
|
.sweet-overlay {
|
||||||
z-index: 1031;
|
z-index: 1031;
|
||||||
}
|
}
|
|
@ -10,8 +10,8 @@
|
||||||
- current_user.groups.each do |group|
|
- current_user.groups.each do |group|
|
||||||
%li.list-group-item
|
%li.list-group-item
|
||||||
.media
|
.media
|
||||||
.pull-left
|
.pull-left.j2-table
|
||||||
%input{type: :checkbox, name: 'gm-group-check', data: { group_name: group.name }, checked: @user.member_of?(group)}
|
%input.input--center{type: :checkbox, name: 'gm-group-check', data: { group_name: group.name }, checked: @user.member_of?(group)}
|
||||||
.media-body
|
.media-body
|
||||||
.list-group-item-heading= group.display_name
|
.list-group-item-heading= group.display_name
|
||||||
.list-group-item-text.text-muted.j2-up
|
.list-group-item-text.text-muted.j2-up
|
||||||
|
|
Loading…
Reference in a new issue