Skip to content

Commit

Permalink
CSS: new 'spacer' class for div
Browse files Browse the repository at this point in the history
In 1.2.x we used to add a table row with a 'spacer' class to separate
rows in a table.

This commit introduces a new class that can be used in form container
divs to separate field container divs:

Before:
	<table>
		<tr>...</tr>
		<tr class="spacer"></tr>
		<tr>...</tr>
	</table>
Now:
	<div class="form-container">
		<div class="field-container">...</div>
		<div class="field-container spacer">...</div>
	</div>
  • Loading branch information
dregad committed Nov 7, 2014
1 parent 38f6bb1 commit bdff59f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions css/default.css
Expand Up @@ -644,6 +644,7 @@ div.form-container .file input,
.display-value span {
max-width: 98%;
}
div.form-container .spacer { margin-top: .5em; clear: both; }
.label-style {
position: absolute;
top: 0em;
Expand Down

0 comments on commit bdff59f

Please sign in to comment.