Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295826

Margin on form-items in table rows

$
0
0

Classy puts a margin on form items, but not when they're in table rows. Why?

This bites us in the Paragraphs module, where we render subforms inside responsive tables, and end up with no spacing between fields:
#2668708: Spacing between fields on paras

core/themes/classy/css/components/form.css:


* Markup generated by Form API.
*/
.form-item,
.form-actions {
  margin-top: 1em;
  margin-bottom: 1em;
}
tr.odd .form-item,
tr.even .form-item {
  margin-top: 0;
  margin-bottom: 0;
}

Viewing all articles
Browse latest Browse all 295826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>