Issue #2982097 by anmolgoyal74, Anatoliy Vorobyov, KondratievaS, jhcastanod, jonathanshaw, lauriii, twfahey, pivica, ricksta: Margin on form-items in table rows (Seven)
parent
92f3fe1abb
commit
25809ca86a
|
@ -49,6 +49,20 @@ fieldset:not(.fieldgroup) > legend {
|
||||||
.form-item {
|
.form-item {
|
||||||
margin: 0.75em 0;
|
margin: 0.75em 0;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* When a table row has a single form item, prevent it from adding unnecessary
|
||||||
|
* extra spacing. If it has multiple form items, allow spacing between them,
|
||||||
|
* overriding Classy.
|
||||||
|
*/
|
||||||
|
tr.odd .form-item,
|
||||||
|
tr.even .form-item {
|
||||||
|
margin-top: 0.75em;
|
||||||
|
margin-bottom: 0.75em;
|
||||||
|
}
|
||||||
|
td > .form-item:only-child {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
.form-type-checkbox {
|
.form-type-checkbox {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue