Custom Fields
Re-Envisioned
Support MB Blocks Sidebar select, textarea and input width not working

  • Creator
    Topic
  • #29399
    Resolved Maria O.
    Participant

    Hi!

    I don't know if it is my fault or it is because an update but without touching internal code, now inside my custom blocks, in the sidebar, the "select, textarea and input" fields are not working properly. They are like compressed and I can't even see what's inside. Someone happened the same?

    Thanks in advance.

    Maria

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #29410
    Long Nguyen
    Moderator

    Hi,

    Thank you for your feedback.

    I've escalated this issue to the development team to fix it in the next update.

    #29416
    Jugibur
    Participant

    Hello,

    that's weird – after updating to the newest version yesterday I found the selection field not compressed but too long. The 100% width is overflowing my sidebar. The edit field has the right width.
    Also the wrapper ".rwmb-input" has the correct width, but the selection input inside is to wide.

    I have noticed that "box-sizing: content-box" is the culprit.
    It comes from

    .edit-post-sidebar *,
    .edit-post-sidebar :after,
    .edit-post-sidebar :before,
    [...]
    {
       box-sizing: inherit
    }

    Have you also observed this behavior?
    I have disabled all custom admin styles.

    Edit: For now I have overwritten .rwmb-select with explicit "box-sizing: border-box"

    Juergen

    #29535
    Maria O.
    Participant

    With the last update everything is working perfect. Thanks.

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