Commit f139cc73 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

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
Loading
Loading
Loading
Loading
+14 −0
Changes for core/themes/seven/css/components/form.css: 14 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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;
}