Custom Fields
Re-Envisioned
Support Meta Box Columns Columns extension creates rows (with bottom margins) for hidden fields

  • Creator
    Topic
  • #28245
    Stephen C.
    Participant

    I'm using the AIO version of Meta Box. I noticed that if a meta box contains any fields that use the columns parameter, the Meta Box Columns extension creates a row (which has a bottom margin) for every field regardless of whether that field uses the columns parameter or not. That's not a big deal, except rows with bottom margins are also generated for all hidden fields. Is there a way to prevent this? Hidden fields shouldn't result in anything that affects the layout, like margins.

    Thanks

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #28259
    Long Nguyen
    Moderator

    Hi Stephen,

    Thank you for your feedback.

    Each field is wrapped in a row (class rwmb-row) and it has a default margin-bottom (12px). Screenshot https://share.getcloudapp.com/RBuYGDRl

    But it also adds the margin for the hidden fields (conditional logic). I will inform the development team to improve this case.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.