Skip to content

Commit

Permalink
Add relation-inset class, fixes relation-flush
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Dec 18, 2015
1 parent 55bceba commit 01b2d0d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 01b2d0d

Please sign in to comment.