Columns extension creates rows (with bottom margins) for hidden fields

Support MB Columns Columns extension creates rows (with bottom margins) for hidden fieldsResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28245
    Stephen C.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 MB 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

    #28259
    Long NguyenLong 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 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.