Add relation-inset class, fixes relation-flush

This commit is contained in:
Samuel Georges 2015-12-19 09:53:12 +11:00
parent 55bceba32c
commit 01b2d0d186
2 changed files with 18 additions and 1 deletions

View File

@ -28,6 +28,13 @@
.relation-behavior .control-list:last-child > table {
margin-bottom: 0;
}
.relation-flush .control-list {
border-top: none;
}
.relation-inset {
margin-left: -20px;
margin-right: -20px;
}
.form-group > .relation-behavior .control-toolbar {
padding: 0 0 10px 0;
}

View File

@ -41,7 +41,17 @@
}
// Relation manager to sit flush to the element above
.relation-flush { }
.relation-flush {
.control-list {
border-top: none;
}
}
// Relation manager to sit inset the standard padding (20px)
.relation-inset {
margin-left: -20px;
margin-right: -20px;
}
// Displayed in a form field
.form-group > .relation-behavior {