Commit f139cc73 authored by lauriii's avatar lauriii

Issue #2982097 by anmolgoyal74, Anatoliy Vorobyov, KondratievaS, jhcastanod,...

Issue #2982097 by anmolgoyal74, Anatoliy Vorobyov, KondratievaS, jhcastanod, jonathanshaw, lauriii, twfahey, pivica, ricksta: Margin on form-items in table rows (Seven)

(cherry picked from commit 25809ca8)
parent 67e7c8cd
......@@ -49,6 +49,20 @@ fieldset:not(.fieldgroup) > legend {
.form-item {
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 {
padding: 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment